/* styles.css */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --success-color: #059669;
  --error-color: #dc2626;
  --warning-color: #d97706;
  --background: #f8fafc;
  --surface: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Layout pour Desktop */
.auth-layout {
  min-height: 100vh;
  display: flex;
}

.auth-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #E1E5E8
}

.auth-right {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(139, 69, 19, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.auth-overlay h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.auth-overlay p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 400px;
}

/* Containers */
.login-container, .signup-container {
  width: 100%;
  max-width: 400px;
}

.login-box, .signup-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

/* Mobile Layout */
@media (max-width: 768px) {
  .auth-layout {
    flex-direction: column;
  }
  
  .auth-right {
    min-height: 200px;
    flex: none;
  }
  
  .auth-left {
    flex: 1;
    min-height: calc(100vh - 200px);
  }
  
  .login-box, .signup-box {
    padding: 2rem;
    margin: 1rem;
    border-radius: var(--radius);
  }
  
  .auth-overlay h2 {
    font-size: 2rem;
  }
  
  .auth-overlay p {
    font-size: 1rem;
  }
}

/* Typography */
.title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
}

/* Form Elements */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: var(--surface);
}

.input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input:invalid {
  border-color: var(--border);
}

.input:not(:placeholder-shown):invalid {
  border-color: var(--error-color);
}

.input.error {
  border-color: var(--error-color);
}

.input:focus:invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: block;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 2px solid var(--border);
  /*margin-top: 1rem;*/
}

.btn-secondary:hover:not(:disabled) {
  background: var(--background);
  border-color: var(--text-secondary);
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary-color);
}

.checkbox span {
  color: var(--text-secondary);
}

.checkbox a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox a:hover {
  text-decoration: underline;
}

/* Messages */
.error {
  color: var(--error-color);
  background: rgba(220, 38, 38, 0.1);
  padding: 0.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--error-color);
  margin: 0;
}

.success {
  color: var(--success-color);
  background: rgba(5, 150, 105, 0.1);
  padding: 0.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--success-color);
  margin: 0;
}

.info {
  color: var(--text-secondary);
  background: rgba(100, 116, 139, 0.1);
  padding: 0.75rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 0;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  text-align: center;
}

.links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.links a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text-secondary);
}

.step.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.step.completed {
  background: var(--success-color);
  border-color: var(--success-color);
  color: white;
}

/* Success Page */
.signup-success {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 500px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.signup-success h2 {
  color: var(--success-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.signup-success p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Password Strength */
.password-strength {
  margin-top: 0.5rem;
}

.strength-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-weak { background: var(--error-color); width: 33%; }
.strength-medium { background: var(--warning-color); width: 66%; }
.strength-strong { background: var(--success-color); width: 100%; }

.strength-text {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-box, .signup-box, .signup-success {
  animation: slideInUp 0.3s ease;
}


/* Users page - nouvelle version centrée */
.users-page {
  min-height: 100vh;
  background: var(--background);
}

.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 2rem;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

/* Section de recherche centrée */
.search-section {
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.search-container {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-loading {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Section des résultats */
.results-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.users-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.user-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.user-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.user-email {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.user-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.user-id {
  color: var(--text-secondary);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  background: var(--background);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.load-more-section {
  text-align: center;
  margin-bottom: 2rem;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
}

.no-results-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.no-results-content p {
  color: var(--text-secondary);
}

.results-info {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

/* Side Menu */
.side-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -600px;
  width: 600px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.side-menu.open {
  right: 0;
}

.side-menu-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.side-menu-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--background);
}

.side-menu-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: var(--error-color);
  color: white;
}

/* User Details dans le side menu */
.user-details {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.user-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 auto 2rem;
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section h3 {
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.detail-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-item label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}

.detail-item value {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-action {
  justify-content: flex-start;
  text-align: left;
  padding: 1rem 1.25rem;
}

/* Formulaires */
.user-form {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section h3 {
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-actions {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.form-actions .btn {
  width: auto;
  min-width: 120px;
}

/* Status badges */
.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
  display: inline-block;
}

.status-active { background: #dcfce7; color: #166534; }
.status-inactive { background: #fef3c7; color: #92400e; }
.status-suspended { background: #fee2e2; color: #991b1b; }
.status-practitioner { background: #dbeafe; color: #1e40af; }
.status-admin { background: #fce7f3; color: #be185d; }
.status-sales { background: #ecfdf5; color: #047857; }
.status-dentist { background: #dbeafe; color: #1e40af; }
.status-laboratory { background: #f0fdf4; color: #166534; }
.status-distributor { background: #fef3c7; color: #92400e; }

/* Notifications Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
  z-index: 1001;
  animation: slideInUp 0.3s ease;
}

.toast-success {
  border-left-color: var(--success-color);
}

.toast-error {
  border-left-color: var(--error-color);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-secondary);
  margin-left: auto;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  background: var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
  .side-menu {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .search-section,
  .results-section {
    padding: 0 1rem;
  }
  
  .user-card {
    padding: 1rem;
    gap: 1rem;
  }
  
  .user-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .user-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .side-menu-header,
  .user-details,
  .user-form {
    padding: 1.5rem;
  }
  
  .user-avatar-large {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
}

/* AUTOCOMPLETE */
/* Autocomplete Styles */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-focus);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.autocomplete-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid var(--border);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
  background: var(--background);
}

.autocomplete-item.selected {
  background: rgba(37, 99, 235, 0.1);
}

.country-name {
  color: var(--text-primary);
  font-weight: 500;
  text-transform: capitalize;
}

.country-code {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  background: var(--border);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .autocomplete-dropdown {
    max-height: 150px;
  }
  
  .autocomplete-item {
    padding: 0.6rem 0.8rem;
  }
  
  .country-name {
    font-size: 0.9rem;
  }
  
  .country-code {
    font-size: 0.75rem;
  }
}

/* LANG SELECTOR */
/* Language Selector */
.language-selector {
  position: relative;
  display: inline-block;
}

.language-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  color: var(--text-primary);
  min-width: 120px;
}

.language-trigger:hover {
  border-color: var(--primary-color);
  background: var(--background);
}

.language-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.language-name {
  flex: 1;
  text-align: left;
  font-weight: 500;
}

.language-arrow {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.language-arrow.open {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow: hidden;
  margin-top: 0.25rem;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-align: left;
}

.language-option:hover {
  background: var(--background);
}

.language-option.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.language-check {
  margin-left: auto;
  color: var(--primary-color);
  font-weight: bold;
}

/* Positionnement du sélecteur dans les pages d'auth */
.auth-language-selector {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

@media (max-width: 768px) {
  .auth-language-selector {
    top: 1rem;
    right: 1rem;
  }
  
  .language-trigger {
    padding: 0.4rem 0.6rem;
    min-width: 100px;
  }
  
  .language-name {
    display: none;
  }
}

@media (max-width: 480px) {
  .language-trigger {
    min-width: 50px;
  }
  
  .language-option .language-name {
    display: block;
  }
}

/* USER PAGINATION */
/* Pagination */
.pagination-section {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--card-background);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pagination-info {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.page-indicator {
  padding: 0.5rem 1rem;
  background: var(--background);
  border-radius: var(--radius);
  font-weight: 500;
  min-width: 80px;
  text-align: center;
}

.pagination-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Status badges pour customerType */
.status-badge.status-dentist { background: #e3f2fd; color: #1976d2; }
.status-badge.status-laboratory { background: #f3e5f5; color: #7b1fa2; }
.status-badge.status-distributor { background: #e8f5e8; color: #388e3c; }

/* change email */
/* Ajout des styles pour le changement d'email */
.email-change-warning {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.email-change-warning h3 {
  color: #92400e;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.email-change-warning p {
  color: #92400e;
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.email-change-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-change-actions {
  display: flex;
  gap: 0.5rem;
}

.email-change-actions .btn {
  flex: 1;
}

/* Password Toggle Eye Icon */
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: var(--text-primary);
}

.password-toggle:focus {
  outline: none;
}

.password-field .input {
  padding-right: 3rem;
}

div.auth-right {
  background-image: url('https://cockpit.lyraetk.com/storage/uploads/2025/10/29/dental-app_no_text_uid_69026ad4d9dcf.jpg');
  background-size: cover;
}