/* Authentication Styles */

/* Profile Menu Modal */
.profile-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.profile-menu-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 400px;
  position: relative;
  z-index: 1;
  animation: slideUpModal 0.3s ease-out;
}

.profile-menu-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.profile-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.profile-info p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.profile-menu-items {
  padding: 16px 0;
}

.profile-menu-item {
  width: 100%;
  padding: 12px 24px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  transition: background-color 0.2s;
}

.profile-menu-item:hover {
  background: #f9fafb;
}

.profile-menu-item i {
  width: 16px;
  color: #6b7280;
}

.profile-menu-close {
  width: 100%;
  padding: 12px 24px;
  border: none;
  background: #f3f4f6;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.profile-menu-close:hover {
  background: #e5e7eb;
}

/* Auth Modal */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal.show {
  opacity: 1;
  visibility: visible;
}

.auth-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  color: white;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.auth-modal.show .auth-modal-content {
  transform: scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.auth-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.auth-modal-header {
  padding: 40px 30px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-modal-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-modal-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
  line-height: 1.5;
}

/* Auth Form */
.auth-form {
  padding: 0 30px 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-group small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  opacity: 0.7;
}

.auth-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Auth Modal Footer */
.auth-modal-footer {
  padding: 0 30px 30px;
  text-align: center;
}

.auth-modal-footer p {
  margin: 10px 0;
  font-size: 14px;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.7);
}

.auth-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.auth-link:hover {
  color: #5a67d8;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.auth-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.auth-link:hover::before {
  left: 100%;
}

/* Auth Messages */
.auth-error,
.auth-success {
  margin: 20px 30px 0;
  padding: 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.auth-error {
  background: rgba(255, 82, 82, 0.2);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: #ffcccc;
}

.auth-success {
  background: rgba(76, 217, 100, 0.2);
  border: 1px solid rgba(76, 217, 100, 0.3);
  color: #ccffcc;
}

/* Special styling for spam folder warning in success messages */
.auth-success strong {
  color: #ffa726;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.auth-success strong:contains("SPAM") {
  background: rgba(255, 167, 38, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 167, 38, 0.4);
  display: inline-block;
  margin: 2px 0;
}

/* Profile Button Updates */
.profile-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Profile Initials */
.profile-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.profile-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-button:hover .profile-initials {
  background: linear-gradient(135deg, #ff8e8e, #6ee7df);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.profile-button i {
  font-size: 20px;
}

.profile-name {
  font-weight: 600;
  font-size: 14px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Profile Menu Updates - Auth Service Styles */
/* Note: These styles work with the existing dropdown system */

/* Modern Forgot Password Modal Styles */
.forgot-password-content {
  text-align: center;
  max-width: 400px;
}

.forgot-password-header {
  margin-bottom: 30px;
}

.forgot-password-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.forgot-password-icon i {
  font-size: 32px;
  color: white;
}

.forgot-password-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
  text-align: center;
}

.forgot-password-header p {
  font-size: 16px;
  color: #718096;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.forgot-password-form {
  margin-bottom: 25px;
}

.forgot-password-form .form-group {
  margin-bottom: 25px;
}

.forgot-password-form .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  text-align: left;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 16px;
  z-index: 1;
}

.forgot-password-form .form-group input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  background: #f7fafc;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.forgot-password-form .form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.forgot-password-form .form-group input::placeholder {
  color: #a0aec0;
}

.forgot-password-submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.forgot-password-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.forgot-password-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.forgot-password-submit-btn.success {
  background: linear-gradient(135deg, #48bb78, #38a169);
  box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.forgot-password-submit-btn.success:hover {
  box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.forgot-password-submit-btn i {
  font-size: 14px;
}

.forgot-password-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.forgot-password-footer p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

.forgot-password-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.forgot-password-footer a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Mobile responsive for forgot password */
@media (max-width: 480px) {
  .forgot-password-content {
    margin: 20px;
    padding: 30px 25px;
    max-width: 100%;
    width: calc(100% - 40px);
  }

  .forgot-password-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }

  .forgot-password-icon i {
    font-size: 28px;
  }

  .forgot-password-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .forgot-password-header p {
    font-size: 14px;
  }

  .forgot-password-form .form-group input {
    padding: 14px 14px 14px 40px;
    font-size: 16px;
  }

  .forgot-password-submit-btn {
    padding: 15px 20px;
    font-size: 16px;
  }
}

.profile-menu-item.auth-action {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
}

.profile-menu-item.auth-action:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Auth-specific profile menu item styles */

.profile-menu-item i {
  width: 16px;
  font-size: 16px;
}

.profile-menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 480px) {
  .auth-modal-content {
    margin: 10px;
    border-radius: 15px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .auth-modal-header {
    padding: 60px 15px 10px;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .auth-modal-header h2 {
    font-size: 20px;
  }

  .auth-modal-header p {
    font-size: 14px;
  }

  .auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .auth-form {
    padding: 0 15px 10px;
  }

  .auth-modal-footer {
    padding: 0 15px 20px;
  }

  .profile-name {
    display: none;
  }

  /* Profile Modal Mobile Optimization */
  .profile-content,
  .favorites-content,
  .settings-content,
  .help-content {
    padding: 0 15px 20px;
    max-height: 70vh;
  }

  .profile-section,
  .favorites-section,
  .settings-section,
  .help-section {
    margin-bottom: 20px;
  }

  .profile-section h3,
  .favorites-section h3,
  .settings-section h3,
  .help-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .profile-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
  }

  .profile-info-item label {
    min-width: auto;
    font-size: 14px;
  }

  .profile-info-item input {
    width: 100%;
    margin-left: 0;
    font-size: 16px;
    /* Prevents zoom on iOS */
    padding: 10px;
  }

  .profile-info-item span {
    font-size: 14px;
    word-break: break-all;
  }

  /* Favorites Mobile Optimization */
  .favorites-list {
    max-height: 150px;
  }

  .favorite-item {
    padding: 12px;
    margin-bottom: 10px;
  }

  .favorite-name {
    font-size: 14px;
    flex: 1;
    margin-right: 10px;
  }

  .remove-favorite {
    padding: 6px 10px;
    font-size: 14px;
  }

  /* Settings Mobile Optimization */
  .toggle-label,
  .radio-label {
    padding: 12px;
    font-size: 14px;
  }

  .toggle-slider {
    width: 45px;
    height: 22px;
    margin-right: 10px;
  }

  .toggle-slider:before {
    width: 18px;
    height: 18px;
  }

  .toggle-label input:checked+.toggle-slider:before {
    transform: translateX(23px);
  }

  .radio-custom {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }

  .radio-custom:after {
    width: 6px;
    height: 6px;
  }

  .danger-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Help Mobile Optimization */
  .help-content li {
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .help-content a {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .auth-modal-content {
    margin: 5px;
    border-radius: 10px;
  }

  .auth-modal-header {
    padding: 50px 10px 8px;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .auth-modal-header h2 {
    font-size: 18px;
  }

  .auth-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    z-index: 10;
    font-size: 14px;
  }

  .profile-content,
  .favorites-content,
  .settings-content,
  .help-content {
    padding: 0 10px 15px;
  }

  .profile-info-item {
    padding: 10px;
  }

  .profile-info-item input {
    font-size: 16px;
    padding: 8px;
  }

  .favorite-item {
    padding: 10px;
  }

  .toggle-label,
  .radio-label {
    padding: 10px;
    font-size: 13px;
  }
}

@media (max-width: 320px) {
  .form-group input {
    padding: 12px;
    font-size: 14px;
  }

  .auth-submit-btn {
    padding: 12px;
    font-size: 14px;
  }
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {

  /* Larger touch targets for mobile */
  .auth-modal-close {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .toggle-label,
  .radio-label {
    min-height: 44px;
    /* Minimum touch target size */
  }

  .remove-favorite {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .favorite-item {
    min-height: 44px;
  }

  /* Better scrolling for mobile */
  .auth-modal-content {
    -webkit-overflow-scrolling: touch;
  }

  .favorites-list {
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent text selection on interactive elements */
  .toggle-label,
  .radio-label,
  .remove-favorite,
  .auth-modal-close {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* Improve button feedback on mobile */
  .auth-submit-btn,
  .danger-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .auth-submit-btn:active,
  .danger-btn:active {
    transform: scale(0.98);
  }
}

/* Email Validation Styles */
.valid-email {
  border-color: #4ecdc4 !important;
  box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.2) !important;
}

.invalid-email {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2) !important;
}

.email-validation-message {
  font-size: 12px;
  margin-top: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  display: none;
}

.email-validation-message.error {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.email-validation-message.success {
  background: rgba(78, 205, 196, 0.1);
  color: #4ecdc4;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

/* Password Reset Success Notification */
.password-reset-success {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  animation: slideInRight 0.5s ease-out;
}

.notification-content {
  background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 350px;
  max-width: 450px;
}

.notification-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.notification-text h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 700;
}

.notification-text p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.4;
}

.notification-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive notification */
@media (max-width: 480px) {

  .password-reset-success,
  .password-reset-loading,
  .password-reset-error {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .notification-content {
    min-width: auto;
    max-width: none;
  }
}

/* Profile Modal Styles */
.profile-content,
.favorites-content,
.settings-content,
.help-content {
  padding: 0 30px 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.profile-section,
.favorites-section,
.settings-section,
.help-section {
  margin-bottom: 25px;
}

.profile-section h3,
.favorites-section h3,
.settings-section h3,
.help-section h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.profile-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.profile-info-item label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  min-width: 120px;
}

.profile-info-item input {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 8px 12px;
  color: white;
  font-size: 14px;
  flex: 1;
  margin-left: 15px;
}

.profile-info-item input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
}

.profile-actions {
  margin-top: 20px;
  text-align: center;
}

/* Favorites Styles */
.favorites-list {
  max-height: 200px;
  overflow-y: auto;
}

.favorite-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.favorite-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.favorite-name {
  font-weight: 500;
  color: white;
}

.remove-favorite {
  background: rgba(255, 82, 82, 0.2);
  border: 1px solid rgba(255, 82, 82, 0.3);
  border-radius: 4px;
  padding: 4px 8px;
  color: #ff5252;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
}

.remove-favorite:hover {
  background: rgba(255, 82, 82, 0.3);
  transform: scale(1.1);
}

.empty-state {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Settings Styles */
.setting-item {
  margin-bottom: 15px;
}

.toggle-label,
.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.toggle-label:hover,
.radio-label:hover {
  background: rgba(255, 255, 255, 0.15);
}

.toggle-label input,
.radio-label input {
  display: none;
}

.toggle-slider {
  width: 50px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.toggle-slider:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
}

.toggle-label input:checked+.toggle-slider {
  background: #4ecdc4;
}

.toggle-label input:checked+.toggle-slider:before {
  transform: translateX(26px);
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.radio-label input:checked+.radio-custom {
  border-color: #4ecdc4;
  background: #4ecdc4;
}

.radio-label input:checked+.radio-custom:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.danger-btn {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.danger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Help Styles */
.help-content ul {
  list-style: none;
  padding: 0;
}

.help-content li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.help-content li:last-child {
  border-bottom: none;
}

.help-content a {
  color: #4ecdc4;
  text-decoration: none;
  font-weight: 600;
}

.help-content a:hover {
  text-decoration: underline;
}

/* Password Reset Loading Notification */
.password-reset-loading {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  animation: slideInRight 0.5s ease-out;
}

.password-reset-loading .notification-content {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 350px;
  max-width: 450px;
}

/* Password Reset Error Notification */
.password-reset-error {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  animation: slideInRight 0.5s ease-out;
}

.password-reset-error .notification-content {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 350px;
  max-width: 450px;
}