/* Authentication specific styles */

/* Auth page container for navbar compatibility */
.auth-page-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
  background-color: hsl(var(--background));
}

.auth-container {
  max-width: 480px;
  margin: 2rem auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.auth-card {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
}

.auth-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-header {
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0;
}

.card-content {
  padding: 2rem;
}

/* OAuth buttons */
.oauth-container {
  margin-bottom: 2rem;
  width: 100%;
}

.oauth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.oauth-button::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;
}

.oauth-button:hover::before {
  left: 100%;
}

.google-button {
  background: linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
  font-size: 1rem;
  font-weight: 500;
}

.google-button:hover {
  background: linear-gradient(135deg, #3367D6 0%, #2952B3 100%);
  box-shadow: 0 4px 8px rgba(66, 133, 244, 0.4);
  transform: translateY(-1px);
  color: white;
}

.oauth-button i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid hsl(var(--border));
}

.divider span {
  padding: 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Form elements */
.form-group {
  margin-bottom: 1.75rem;
  position: relative;
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  transition: color 0.2s ease;
  text-align: left;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--input));
  color: hsl(var(--foreground));
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  box-sizing: border-box;
  display: block;
}

.form-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(var(--primary), 0.3);
  transform: none;
}

.form-input:hover:not(:focus) {
  border-color: hsl(var(--muted-foreground));
}

.form-input::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

/* Form validation states */
.form-input.error {
  border-color: hsl(var(--destructive));
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(var(--destructive), 0.3);
}

.form-input.success {
  border-color: hsl(150, 100%, 40%);
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(150, 100%, 40%, 0.3);
}

.form-input.error:focus {
  border-color: hsl(var(--destructive));
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(var(--destructive), 0.5);
}

.form-input.success:focus {
  border-color: hsl(150, 100%, 40%);
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(150, 100%, 40%, 0.5);
}

/* Password input styling - simplified without toggle buttons */
.form-input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  /* Standard form input styling applies */
}

/* Password toggle styles removed - no longer needed */

/* Submit button enhancements */
.button.button-primary {
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
}

.button.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsla(var(--primary), 0.4);
}

.button.button-primary:active {
  transform: translateY(0);
}

/* Loading state for buttons */
.button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
}

.form-checkbox:hover {
  color: hsl(var(--primary));
}

.form-checkbox input {
  margin-right: 0.75rem;
  width: 1.125rem;
  height: 1.125rem;
  accent-color: hsl(var(--primary));
}

/* Auth links */
.auth-links {
  margin-top: 1.5rem;
  text-align: center;
}

.auth-links a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Enhanced Alerts */
.alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.alert-success {
  background-color: hsla(150, 100%, 40%, 0.1);
  border-color: hsla(150, 100%, 40%, 0.3);
  color: hsl(150, 100%, 25%);
}

.alert-success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='hsl(150, 100%, 25%)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
}

.alert-info {
  background-color: hsla(210, 100%, 50%, 0.1);
  border-color: hsla(210, 100%, 50%, 0.3);
  color: hsl(210, 100%, 35%);
}

.alert-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='hsl(210, 100%, 35%)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E");
}

.alert-warning {
  background-color: hsla(40, 100%, 50%, 0.1);
  border-color: hsla(40, 100%, 50%, 0.3);
  color: hsl(40, 100%, 25%);
}

.alert-warning::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='hsl(40, 100%, 25%)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'%3E%3C/path%3E%3C/svg%3E");
}

.alert-danger {
  background-color: hsla(0, 100%, 50%, 0.1);
  border-color: hsla(0, 100%, 50%, 0.3);
  color: hsl(0, 100%, 35%);
}

.alert-danger::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='hsl(0, 100%, 35%)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E");
}

/* Profile page styles */
.user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.user-avatar-large {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.avatar-circle-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
}

.user-details {
  width: 100%;
}

.user-details h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.user-details p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .user-info {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .user-details {
    padding-left: 1rem;
  }

  .user-details p {
    justify-content: flex-start;
  }
}

/* Activity list */
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-item {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  margin-right: 1rem;
  font-size: 1.25rem;
  color: hsl(var(--primary));
  width: 2rem;
  text-align: center;
}

.activity-details {
  flex: 1;
}

.activity-type {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.activity-time {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.activity-description {
  font-size: 0.875rem;
}

/* Comprehensive Dark Mode Support */
html[data-theme='dark'] {
  /* Enhanced dark mode card styling */
  .auth-card {
    background-color: hsl(var(--card));
    border-color: hsl(var(--border));
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }

  .auth-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }

  .card-header {
    background-color: hsl(var(--card));
    border-color: hsl(var(--border));
  }

  .card-title {
    color: hsl(var(--foreground));
  }

  /* Form elements dark mode */
  .form-label {
    color: hsl(var(--foreground));
  }

  .form-input {
    background-color: hsl(var(--input));
    border-color: hsl(var(--border));
    color: hsl(var(--foreground));
  }

  .form-input::placeholder {
    color: hsl(var(--muted-foreground));
    opacity: 0.8;
  }

  .form-input:focus {
    border-color: hsl(var(--primary));
    border-width: 1px;
    box-shadow: 0 0 0 1px hsla(var(--primary), 0.4);
  }

  /* Password toggle styles removed */

  /* OAuth button dark mode */
  .google-button {
    background: linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
    color: white;
    border: 1px solid rgba(66, 133, 244, 0.3);
  }

  .google-button:hover {
    background: linear-gradient(135deg, #3367D6 0%, #2952B3 100%);
    color: white;
  }

  /* Divider dark mode */
  .divider::before,
  .divider::after {
    border-color: hsl(var(--border));
  }

  .divider span {
    color: hsl(var(--muted-foreground));
  }

  /* Auth links dark mode */
  .auth-links {
    color: hsl(var(--foreground));
  }

  .auth-links a {
    color: hsl(var(--primary));
  }

  .auth-links a:hover {
    color: hsl(var(--primary));
    opacity: 0.8;
  }

  /* Button dark mode */
  .button.button-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
  }

  .button.button-primary:hover {
    background-color: hsl(var(--primary));
    opacity: 0.9;
    color: hsl(var(--primary-foreground));
  }

  /* Checkbox dark mode */
  .form-checkbox {
    color: hsl(var(--foreground));
  }

  .form-checkbox input {
    accent-color: hsl(var(--primary));
  }
}

/* Alert dark mode adjustments */
html[data-theme='dark'] .alert-success {
  background-color: hsla(150, 100%, 20%, 0.2);
  border-color: hsla(150, 100%, 30%, 0.3);
  color: hsl(150, 100%, 80%);
}

html[data-theme='dark'] .alert-info {
  background-color: hsla(210, 100%, 20%, 0.2);
  border-color: hsla(210, 100%, 30%, 0.3);
  color: hsl(210, 100%, 80%);
}

html[data-theme='dark'] .alert-warning {
  background-color: hsla(40, 100%, 20%, 0.2);
  border-color: hsla(40, 100%, 30%, 0.3);
  color: hsl(40, 100%, 80%);
}

html[data-theme='dark'] .alert-danger {
  background-color: hsla(0, 100%, 20%, 0.2);
  border-color: hsla(0, 100%, 30%, 0.3);
  color: hsl(0, 100%, 80%);
}

/* User menu divider */
.user-menu-divider {
  height: 1px;
  background-color: hsl(var(--border));
  margin: 0.5rem 0;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .auth-container {
    margin: 1rem auto;
    padding: 0 1rem;
    max-width: 100%;
  }

  .auth-card {
    margin: 0;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  /* Password container styles removed */

  .oauth-button {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .user-info {
    flex-direction: column;
  }

  .activity-item {
    flex-direction: column;
  }

  .activity-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: 0 0.75rem;
    margin: 0.75rem auto;
  }

  .card-header {
    padding: 1.25rem 1.25rem 0.75rem 1.25rem;
  }

  .card-content {
    padding: 1.25rem;
  }

  .card-title {
    font-size: 1.125rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-input {
    padding: 0.75rem 0.875rem;
    font-size: 1rem;
  }

  /* Password container and toggle styles removed */

  .oauth-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .button.button-primary {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }
}

/* Focus management for better accessibility */
.form-input:focus-visible,
.button:focus-visible,
.oauth-button:focus-visible {
  outline: 1px solid hsl(var(--primary));
  outline-offset: 1px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .auth-card,
  .form-input,
  .button,
  .oauth-button,
  .alert {
    transition: none;
    animation: none;
  }

  .auth-card:hover {
    transform: none;
  }

  .button.button-primary:hover {
    transform: none;
  }
}

/* User Avatar and Dropdown Styles */
.user-avatar-menu {
  position: relative;
  margin-left: auto;
}

.avatar-button {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: hsl(var(--foreground));
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 6px;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.avatar-button[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: hsl(var(--popover));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 10001; /* Ultra high z-index for bilingual mode compatibility */
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.user-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile-specific fixes for user avatar dropdown in bilingual mode */
@media (max-width: 768px) {
  .user-avatar-menu {
    position: relative !important;
    z-index: 10000 !important;
  }

  .avatar-button {
    z-index: 10000 !important;
    pointer-events: auto !important;
  }

  /* MOBILE FIX: Position dropdown to open downward from avatar button */
  .user-dropdown {
    position: absolute !important; /* Use absolute positioning relative to avatar button */
    top: calc(100% + 8px) !important; /* Position below avatar button */
    bottom: auto !important;
    right: 0 !important; /* Align with right edge of avatar button */
    left: auto !important;
    z-index: 10001 !important;
    min-width: 200px !important;
    max-width: 250px !important;
    background-color: hsl(var(--popover)) !important;
    border: 1px solid hsl(var(--border)) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    padding: 0.5rem !important;
    margin: 0 !important;
    pointer-events: auto !important;
    opacity: 0 !important;
    transform: translateY(-10px) scale(0.95) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
  }

  .user-dropdown.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Force dropdown to be above bilingual mode content */
  body:has(#bilingual-mode-content[style*="block"]) .user-avatar-menu {
    z-index: 10002 !important;
  }

  body:has(#bilingual-mode-content[style*="block"]) .user-dropdown {
    z-index: 10003 !important;
  }

  /* Alternative positioning for larger mobile screens */
  @media (min-width: 481px) and (max-width: 768px) {
    .user-dropdown {
      position: absolute !important;
      top: calc(100% + 8px) !important;
      bottom: auto !important;
      right: 0 !important;
      left: auto !important;
      transform: translateY(-10px) !important;
    }

    .user-dropdown.show {
      transform: translateY(0) !important;
    }
  }

  /* Small mobile screens - use bottom positioning to avoid overlap */
  @media (max-width: 480px) {
    .user-dropdown {
      position: fixed !important;
      top: auto !important;
      bottom: 20px !important;
      right: 20px !important;
      left: auto !important;
      min-width: 180px !important;
      max-width: 220px !important;
    }
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: hsl(var(--accent));
}

.dropdown-item i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  background-color: hsl(var(--border));
  margin: 4px 0;
}

@media (max-width: 768px) {
  .avatar-circle {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* History dropdown styles removed - History is now consolidated under Profile dropdown */

/* Activity Summary Styles */
.activity-summary {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}

.activity-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: hsl(var(--muted));
  min-width: 150px;
}

.activity-stat i {
  font-size: 2rem;
  color: hsl(var(--primary));
}

.activity-stat-content {
  display: flex;
  flex-direction: column;
}

.activity-stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.activity-stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Email validation feedback */
.email-validation-feedback {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.email-validation-feedback.valid {
  background-color: hsl(142, 76%, 95%);
  color: hsl(142, 76%, 36%);
  border: 1px solid hsl(142, 76%, 85%);
}

.email-validation-feedback.invalid {
  background-color: hsl(0, 84%, 95%);
  color: hsl(0, 84%, 45%);
  border: 1px solid hsl(0, 84%, 85%);
}

.email-validation-feedback.loading {
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border));
}

/* Email input validation states */
.form-input.valid {
  border-color: hsl(142, 76%, 50%);
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(142, 76%, 50%, 0.3);
}

.form-input.invalid {
  border-color: hsl(0, 84%, 60%);
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(0, 84%, 60%, 0.3);
}

/* Dark mode support for email validation */
[data-theme="dark"] .email-validation-feedback.valid {
  background-color: hsl(142, 76%, 15%);
  color: hsl(142, 76%, 70%);
  border-color: hsl(142, 76%, 25%);
}

[data-theme="dark"] .email-validation-feedback.invalid {
  background-color: hsl(0, 84%, 15%);
  color: hsl(0, 84%, 70%);
  border-color: hsl(0, 84%, 25%);
}

[data-theme="dark"] .form-input.valid {
  border-color: hsl(142, 76%, 40%);
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(142, 76%, 40%, 0.4);
}

[data-theme="dark"] .form-input.invalid {
  border-color: hsl(0, 84%, 50%);
  border-width: 1px;
  box-shadow: 0 0 0 1px hsla(0, 84%, 50%, 0.4);
}

/* Email validation additional elements */
.validation-note {
  font-size: 12px;
  opacity: 0.8;
  font-style: italic;
}

.validation-suggestion {
  font-size: 12px;
  opacity: 0.9;
  font-style: italic;
  display: block;
  margin-top: 2px;
}

/* Enhanced validation feedback animations */
.email-validation-feedback {
  animation: slideInFeedback 0.3s ease-out;
}

@keyframes slideInFeedback {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Validation level indicators */
.email-validation-feedback.verified {
  background-color: hsl(142, 76%, 92%);
  border-color: hsl(142, 76%, 70%);
}

[data-theme="dark"] .email-validation-feedback.verified {
  background-color: hsl(142, 76%, 12%);
  border-color: hsl(142, 76%, 30%);
}
