/* nicekin.css - Custom CSS for nicekin.com */

/* Global styles */
:root {
  --primary-color: #d4af37; /* Changed to gold for a "rich" luxurious feel */
  --secondary-color: #f8f6f1; /* Softer light background */
  --success-color: #28a745;
  --danger-color: #dc3545;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --border-radius: 12px; /* Slightly larger for smoother look */
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Softer shadow */
  --transition: all 0.3s ease;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

/* Navbar styling */
.navbar {
  box-shadow: 0 2px 10px #eae8dd;
  padding: 0.8rem 1rem;
}

.navbar-brand {
  font-weight: 700;
  color: #4a443e !important;
  font-size: 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
  color: black !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
   color: black !important;
}

.navbar-light .navbar-nav .active > .nav-link {
   color: black !important;
}

.notification-bell,
.visitor-bell {
  position: relative;
}

.notification-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--danger-color);
  color: white;
  border-radius: 50%;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: bold;
}

.signup-card{
background-color: #eadec6;
}
/* Buttons */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.6rem 1.5rem; /* Slightly larger padding */
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #b8962e; /* Darker gold on hover */
  border-color: #b8962e;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.btn-success, .btn-sm.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.btn-danger, .btn-sm.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card-header {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
  padding: 1rem;
}

.card-body {
  padding: 1.5rem; /* Increased padding for better spacing */
}

.card-footer {
  background-color: #f9f9f9;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

/* Profile styling */
.profile-header {
  padding: 2rem;
  text-align: center;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  border: 5px solid white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.profile-info {
  max-width: 600px;
  margin: 0 auto;
}

/* Status and comments */
.status-container {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.status-content {
  padding: 1.5rem;
}

.status-footer {
  padding: 1rem;
  background-color: #f9f9f9;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.status-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.comment {
  padding: 0.75rem;
  border-radius: var(--border-radius);
  background-color: #f9f9f9;
  margin-bottom: 0.75rem;
}

.comment:last-child {
  margin-bottom: 0;
}

.comment-form {
  margin-top: 1rem;
}

.comments-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

/* Top users section */
.top-users {
  padding: 2rem 0;
}

.user-card {
  text-align: center;
  transition: var(--transition);
}

.user-card:hover {
  transform: translateY(-5px);
}

.user-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-info {
  margin-top: 1rem;
}

.user-username {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.user-location {
  color: #6c757d;
  font-size: 0.9rem;
}

.user-score {
  margin-top: 0.5rem;
  background-color: black;
  color: white;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-weight: 600;
}

/* Forms */
.form-control {
  border-radius: var(--border-radius);
  padding: 0.85rem 1.2rem; /* Larger padding for easier input */
  border: 1px solid #ced4da;
  font-size: 1rem; /* Larger font */
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25); /* Match primary color */
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 100px;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Hero section */
.hero-section {
  background-color: var(--secondary-color);
  padding: 4rem 0;

  border-radius: var(--border-radius);
  margin-bottom: 2rem;
 
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

/* Signup section improvements */
#signup-section {
  background-color: var(--secondary-color);
}

#signup-section .card {
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
}

#signup-section .card-header {
  background-color: var(--primary-color);
  color: white;

  font-size: 1.4rem;
  padding: 1.5rem;
}

#signup-section .card-body {
  padding: 2rem; /* More space for simplicity */
}

#signup-section .btn-primary {
  background-color: var(--primary-color);
  border: none;
  font-size: 1.2rem;
  padding: 0.8rem;
  border-radius: var(--border-radius);
}

#signup-section .btn-primary:hover {
  background-color: #b8962e;
}

#signup-section .form-check-label a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .card-header {
    padding: 0.75rem;
  }
  
  .card-body, .card-footer {
    padding: 1rem;
  }
  
  .profile-photo {
    width: 120px;
    height: 120px;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Add this to nicekin.css */

/* Cute Card Styling */
.cute-card {
  background-color: #fff; /* White background for clean look */
  border-radius: 15px; /* Rounded corners for cuteness */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
  transition: transform 0.2s ease-in-out; /* Hover animation */
  overflow: hidden; /* Prevent overflow */
}

.cute-card:hover {
  transform: translateY(-5px); /* Slight lift on hover for interactivity */
}

.cute-card .user-avatar {
  width: 80px; /* Smaller size for card */
  height: 80px;
  object-fit: cover;
  border: 2px solid var(--primary-color); /* Gold border for luxury */
}

.cute-card .user-info {
  flex: 1; /* Take remaining space */
}

.cute-card .user-username {
  font-size: 1.1rem; /* Slightly larger font */
  margin-bottom: 0.25rem;
}

.cute-card .user-location {
  font-size: 0.9rem;
  color: #6c757d; /* Muted color */
  margin-bottom: 0.25rem;
}

.cute-card .user-score {
  background-color: var(--primary-color); /* Gold background */
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px; /* Pill shape */
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .cute-card .card-body {
    flex-direction: column; /* Stack vertically on mobile */
    text-align: center;
  }
  
  .cute-card .user-avatar {
    margin: 0 auto 1rem auto !important; /* Center on mobile */
  }
}

/* Account Switcher Styles */
.account-switcher-btn {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown menu text color fix - UPDATED */
.dropdown-menu {
  background-color: white !important; /* Ensure white background */
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.dropdown-menu .dropdown-item {
  color: #212529 !important; /* Dark text for dropdown items */
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  color: #000 !important; /* Pure black on hover */
  background-color: #f8f9fa !important; /* Light background on hover */
}

.dropdown-menu .dropdown-header {
  color: #6c757d !important; /* Muted color for headers */
  font-weight: 600;
}

.dropdown-menu .dropdown-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Account switcher dropdown text - UPDATED */
.dropdown-item form button {
  color: #212529 !important; /* Dark text for form buttons in dropdown */
  padding: 0.5rem 1rem;
  font-weight: 500;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.dropdown-item form button:hover,
.dropdown-item form button:focus {
  background-color: #f8f9fa !important;
  color: #000 !important; /* Pure black on hover */
}

/* Navbar dropdown toggle button text */
.navbar .dropdown-toggle {
  color: #212529 !important; /* Dark text for dropdown buttons */
}

.navbar .btn-outline-light {
  color: #212529 !important; /* Dark text */
  border-color: rgba(0, 0, 0, 0.15) !important;
  background-color: white !important;
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
  color: #000 !important;
  background-color: #f8f9fa !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Mobile profile links text */
.mobile-profile-links a {
  color: #212529 !important; /* Dark text for mobile links */
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.mobile-profile-links a:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}

/* Navbar improvements */
.navbar {
  padding: 0.75rem 0;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  font-weight: 700;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: #b8962e !important;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Profile dropdown trigger styling */
#profileDropdown {
  padding: 0.25rem 0.75rem !important;
  border-radius: 50px;
  transition: var(--transition);
}

#profileDropdown:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

#profileDropdown span {
  color: #333 !important;
  font-size: 0.95rem;
}

/* Dropdown menu improvements */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 250px;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  color: #333 !important;
  transition: var(--transition);
  font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(212, 175, 55, 0.1) !important;
  color: var(--primary-color) !important;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  color: #666;
}

.dropdown-item:hover i,
.dropdown-item:focus i {
  color: var(--primary-color);
}

.dropdown-header {
  font-weight: 700;
  color: var(--primary-color) !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1.25rem;
}

.dropdown-divider {
  margin: 0.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Badge in dropdown */
.dropdown-item .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* Visitor bell */
.visitor-bell {
  position: relative;
  padding: 0.5rem 1rem;
}

.visitor-bell i {
  font-size: 1.25rem;
  color: #666;
  transition: var(--transition);
}

.visitor-bell:hover i {
  color: var(--primary-color);
}

.notification-count {
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  background: var(--danger-color);
  color: white;
  border-radius: 50%;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

/* Account switcher button styling */
.dropdown-item form button {
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.dropdown-item form button:hover {
  background-color: transparent !important;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: 1rem;
  }
  
  .navbar-nav {
    padding-bottom: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  #profileDropdown {
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    display: flex;
    align-items: center;
  }
  
  .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 0.25rem;
  }
}

/* Top post banner styling */
.top-post-banner {
  background: linear-gradient(135deg, var(--primary-color), #b8962e);
  color: white;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-post-banner a {
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.top-post-banner a:hover {
  text-decoration: underline;
}

.top-post-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0.5rem;
  border: 2px solid white;
  vertical-align: middle;
}

.top-post-content {
  font-style: italic;
  margin: 0 0.5rem;
}

.top-post-score {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  margin-left: 0.5rem;
}

/* Ensure dropdown works properly on mobile */
@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}