/* =========================================================
   Referaly — Auth Pages (Login / Register)
   Split-layout: purple left panel + white form panel
   ========================================================= */

/* Hide default header/footer on auth pages */
.auth-page #site-header,
.auth-page #site-footer { display: none; }

/* ---- Layout ---- */
.auth-wrapper {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
}

.auth-panel-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 480px;
  min-width: 480px;
  padding: 48px 48px 40px;
  background: linear-gradient(160deg, #0f546e 0%, #0f546e 50%, #0b3d50 100%);
  color: #fff;
  overflow: hidden;
}

.auth-panel-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: #fff;
  overflow-y: auto;
}

/* ---- Decorative orbs ---- */
.auth-panel-left::before,
.auth-panel-left::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-panel-left::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
}

.auth-panel-left::after {
  width: 240px;
  height: 240px;
  bottom: -40px;
  left: -60px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

/* Extra decorative shapes */
.auth-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-decor--1 {
  width: 160px;
  height: 160px;
  top: 20%;
  right: -30px;
  border: 2px solid rgba(255,255,255,0.1);
}

.auth-decor--2 {
  width: 80px;
  height: 80px;
  bottom: 25%;
  left: 30px;
  background: rgba(255,255,255,0.06);
}

.auth-decor--3 {
  width: 12px;
  height: 12px;
  top: 30%;
  left: 40px;
  background: rgba(255,255,255,0.2);
}

/* ---- Left panel content ---- */
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.auth-brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  filter: brightness(0) invert(1);
}

/* Logo d'une marque blanche : en couleurs, sur une pastille blanche
   (le filtre ci-dessus le changerait en carré blanc). */
.auth-brand-icon--marque {
  filter: none;
  background: #fff;
  object-fit: contain;
  padding: 3px;
}

.auth-brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-panel-left--with-top-back {
  padding-top: 132px;
}

.auth-left-back-form {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
}

.auth-left-back-form--top {
  position: absolute;
  top: 64px;
  left: 48px;
  margin: 0;
}

.auth-left-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-left-back-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.75);
}

.auth-left-heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.auth-left-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin: 0 0 40px;
  position: relative;
  z-index: 1;
}

/* Stats row */
.auth-stats {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.auth-stat {
  text-align: center;
}

.auth-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.auth-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ---- Right panel form ---- */
.auth-form-container {
  width: 100%;
  max-width: 440px;
}

.auth-form-heading {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-900);
  margin: 0 0 8px;
}

.auth-form-subtitle {
  font-size: 15px;
  color: var(--color-text-500);
  margin: 0 0 32px;
}

/* Google button */
.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-700);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.auth-google-btn:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text-400);
}

.auth-google-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-divider span {
  font-size: 13px;
  color: var(--color-text-400);
  white-space: nowrap;
}

/* Form fields */
.auth-field {
  margin-bottom: 20px;
  position: relative;
}

.auth-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-700);
  margin-bottom: 6px;
}

.auth-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-900);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}
.auth-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="tel"],
.auth-field input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-900);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.auth-field input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

.auth-field input::placeholder {
  color: var(--color-text-400);
}

/* Password wrapper with toggle */
.auth-password-wrap {
  position: relative;
}

.auth-password-wrap input {
  padding-right: 44px;
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-text-400);
  display: flex;
  align-items: center;
}

.auth-password-toggle:hover {
  color: var(--color-text-600);
}

.auth-password-toggle svg {
  width: 18px;
  height: 18px;
}

/* Field header with forgot link */
.auth-field-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.auth-field-header label {
  margin-bottom: 0;
}

.auth-forgot-link {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

/* Row of two fields */
.auth-field-row {
  display: flex;
  gap: 16px;
}

.auth-field-row .auth-field {
  flex: 1;
}

/* Remember / checkbox */
.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.auth-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.auth-checkbox label,
.auth-checkbox span {
  font-size: 14px;
  color: var(--color-text-600);
  cursor: pointer;
}

.auth-checkbox a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

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

/* Account type toggle */
.auth-toggle-group {
  margin-bottom: 20px;
}

.auth-toggle-group > span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-700);
  margin-bottom: 8px;
}

.auth-toggle-buttons {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.auth-toggle-buttons input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-toggle-buttons label {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-600);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-right: 1px solid var(--color-border);
}

.auth-toggle-buttons label:last-of-type {
  border-right: none;
}

.auth-toggle-buttons input[type="radio"]:checked + label {
  background: var(--color-primary-50);
  color: var(--color-primary);
  font-weight: 600;
}

/* CTA button */
.auth-submit-btn {
  display: block;
  width: 100%;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.auth-submit-btn:hover {
  background: var(--color-primary-600);
  box-shadow: var(--shadow-purple);
}

/* Bottom link */
.auth-bottom-text {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-text-500);
}

.auth-bottom-text a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

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

/* Trust badges */
.auth-trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-soft);
}

.auth-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-400);
}

.auth-trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .auth-wrapper {
    flex-direction: column;
  }

  .auth-panel-left {
    width: 100%;
    min-width: 0;
    padding: 32px 24px 28px;
  }

  .auth-panel-left--with-top-back {
    padding-top: 112px;
  }

  .auth-left-back-form--top {
    top: 48px;
    left: 24px;
  }

  .auth-left-heading {
    font-size: 22px;
  }

  .auth-left-subtitle {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .auth-stats {
    padding-top: 20px;
  }

  .auth-panel-right {
    padding: 32px 20px 48px;
  }
}

@media (max-width: 540px) {
  .auth-field-row {
    flex-direction: column;
    gap: 0;
  }

  .auth-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .auth-stats {
    gap: 16px;
  }

  .auth-panel-left {
    padding: 24px 20px 22px;
  }

  .auth-panel-left--with-top-back {
    padding-top: 100px;
  }

  .auth-left-back-form--top {
    top: 44px;
    left: 20px;
  }

  .auth-brand { margin-bottom: 20px; }
  .auth-brand-name { font-size: 18px; }
  .auth-brand-icon { width: 32px; height: 32px; }

  .auth-left-heading {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .auth-left-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .auth-stats {
    padding-top: 16px;
    flex-wrap: wrap;
  }

  .auth-stat-value { font-size: 18px; }
  .auth-stat-label { font-size: 11px; }

  .auth-panel-right {
    padding: 28px 20px 40px;
  }

  .auth-form-heading { font-size: 22px; }
  .auth-form-subtitle { font-size: 14px; margin-bottom: 24px; }

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

  .auth-field label { font-size: 13px; }
  .auth-field input[type="text"],
  .auth-field input[type="email"],
  .auth-field input[type="tel"],
  .auth-field input[type="password"] {
    padding: 10px 12px;
    font-size: 16px; /* prevent iOS zoom */
  }

  .auth-select { font-size: 16px; padding: 10px 12px; }

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

  .auth-toggle-buttons label {
    padding: 10px 12px;
    font-size: 13px;
  }

  .auth-checkbox label,
  .auth-checkbox span { font-size: 13px; }
}

@media (max-width: 480px) {
  .auth-left-heading { font-size: 18px; }
  .auth-form-heading { font-size: 20px; }
  .auth-stat-value { font-size: 16px; }
}

/* Laravel auth: phone + country code */
.auth-phone-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.auth-phone-row .auth-phone-code {
  width: 108px;
  flex-shrink: 0;
  padding: 10px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-900);
  background: #fff;
  cursor: pointer;
  outline: none;
}
.auth-phone-row .auth-phone-code:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}
.auth-phone-row .auth-phone-input {
  flex: 1;
  min-width: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  border-left: none !important;
}
.auth-phone-row .auth-phone-input:focus {
  border-left: 1px solid var(--color-primary) !important;
}

/* Session / validation alerts */
.auth-alert {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
}
.auth-alert--error {
  background: var(--color-danger-50);
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.auth-alert ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}

/* Language switcher (fixed) */
.auth-lang-switcher {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
}
.auth-lang-switcher-inner {
  position: relative;
  display: inline-block;
}
.auth-lang-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-700);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.auth-lang-button::after {
  content: "";
  display: inline-block;
  margin-left: 4px;
  border-top: 4px solid var(--color-text-500);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.auth-lang-menu {
  position: absolute;
  right: 0;
  margin-top: 6px;
  min-width: 160px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.auth-lang-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--color-text-900);
  text-decoration: none;
}
.auth-lang-menu a:hover {
  background: var(--color-bg-alt);
}
@media (max-width: 540px) {
  .auth-lang-switcher {
    top: 12px;
    right: 12px;
  }
}

/* ---- Register: job category picker (same UX as business referrer) ---- */
.auth-register-job-picker.category-selector-container-rf,
.category-selector-container-rf.auth-register-job-picker {
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-sm, 8px);
  background: #fff;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}
.auth-register-job-fallback-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--color-text-500, #6b7280);
  line-height: 1.4;
}
.category-search-wrapper-rf {
  position: relative;
  padding: 12px;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}
.category-search-input-rf {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
}
.category-search-input-rf:focus {
  border-color: #0f546e;
  box-shadow: 0 0 0 3px rgba(15, 84, 110, 0.12);
}
.category-selected-info-rf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  background: #f9fafb;
}
.category-selected-count-rf {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}
.category-clear-all-rf {
  color: #0f546e;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.category-clear-all-rf:hover {
  text-decoration: underline;
}
.category-list-container-rf {
  flex: 1;
  overflow-y: auto;
  max-height: 280px;
}
.category-item-rf {
  border-bottom: 1px solid #f3f4f6;
}
.category-header-rf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #f9fafb;
  cursor: pointer;
  transition: background 0.2s;
}
.category-header-rf:hover {
  background: #f3f4f6;
}
.category-header-left-rf {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.category-icon-rf {
  color: #0f546e;
  font-size: 16px;
  flex-shrink: 0;
}
.category-title-rf {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.category-arrow-rf {
  color: #6b7280;
  font-size: 12px;
  transition: transform 0.2s;
}
.category-subcategories-rf {
  background: #fff;
}
.subcategory-item-rf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 12px 48px;
  border-bottom: 1px solid #f9fafb;
  transition: background 0.2s;
  gap: 8px;
}
.subcategory-item-rf:hover {
  background: #f9fafb;
}
.subcategory-title-rf {
  font-size: 14px;
  color: #374151;
  min-width: 0;
}
.subcategory-add-btn-rf {
  background: #0f546e;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.subcategory-add-btn-rf:hover {
  background: #0f546e;
  transform: translateY(-1px);
}
.subcategory-add-btn-rf:disabled,
.subcategory-added-rf {
  background: #10b981;
  cursor: not-allowed;
  transform: none;
}
.category-selected-tags-rf {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--color-border, #e5e7eb);
  background: #f9fafb;
  min-height: 48px;
}
.category-selected-tags-rf .tag-rf {
  background: #0f546e;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-selected-tags-rf .tag-remove-rf {
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: 0.85;
}
.category-selected-tags-rf .tag-remove-rf:hover {
  opacity: 1;
}

/* ---- City / autocomplete suggestions (complete profile, register) ---- */
.auth-suggestions {
  margin-top: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.auth-suggestion-item {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--color-text-700);
  cursor: pointer;
  transition: background 0.15s;
}
.auth-suggestion-item:hover,
.auth-suggestion-item.is-active {
  background: var(--color-primary-50);
  color: var(--color-text-900);
}
.auth-flat-job-item.subcategory-item-rf {
  padding: 12px 16px;
}
.auth-flat-job-item .subcategory-title-rf {
  flex: 1;
}

/* ---- Verify email (post-registration) ---- */
.auth-wrapper--verify-email {
  min-height: 100vh;
  min-height: 100dvh;
}
.auth-panel-right--verify-email {
  background: #f3f4f6;
  align-items: center;
  justify-content: center;
}
.auth-verify-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 40px 36px 36px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--color-border, #e5e7eb);
  text-align: center;
}
.auth-verify-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0f546e 0%, #0f546e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.auth-verify-envelope {
  width: 32px;
  height: 32px;
}
.auth-verify-heading {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  font-family: var(--font-sans);
}
.auth-verify-lead {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.5;
}
.auth-verify-email-box {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #f2f5f7;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  word-break: break-all;
}
.auth-verify-instruction {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.55;
}
.auth-verify-alert {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  text-align: center;
}
.auth-verify-alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.auth-verify-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.auth-verify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  box-sizing: border-box;
}
.auth-verify-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.auth-verify-btn--primary {
  background: linear-gradient(145deg, #0f546e 0%, #0f546e 100%);
  color: #fff;
  margin-bottom: 12px;
}
.auth-verify-btn--primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.auth-verify-g-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.auth-verify-btn--outline {
  background: #fff;
  color: #0f546e;
  border-color: #0f546e;
  margin-bottom: 20px;
}
.auth-verify-btn--outline:hover {
  background: #f4f7f8;
}
.auth-verify-resend-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.auth-verify-spam {
  margin: 0 0 20px;
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.45;
}
.auth-verify-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f546e;
  text-decoration: none;
  font-family: var(--font-sans);
}
.auth-verify-back:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .auth-wrapper--verify-email {
    flex-direction: column;
  }
  .auth-wrapper--verify-email .auth-panel-left {
    width: 100%;
    min-width: 0;
    padding: 32px 24px;
  }
  .auth-panel-right--verify-email {
    padding: 32px 20px;
  }
}

/* ---- Mot de passe oublié ---- */
/* Pas de panneau de gauche ici : l'utilisateur veut récupérer son compte,
   la carte est centrée sur un fond neutre comme l'écran de vérification. */
.auth-wrapper--single {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f3f4f6;
}
.auth-wrapper--single .auth-panel-right {
  background: transparent;
}
.auth-wrapper--single .auth-form-container {
  width: 100%;
  max-width: 440px;
  padding: 40px 36px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--color-border, #e5e7eb);
}
.auth-brand--centered {
  justify-content: center;
  margin-bottom: 24px;
}
.auth-brand--centered .auth-brand-name {
  color: var(--color-text, #111827);
}
.auth-alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.auth-forgot-link {
  margin: -8px 0 4px;
  font-size: 14px;
  text-align: right;
}
.auth-forgot-link a {
  color: var(--color-primary, #0f546e);
  text-decoration: none;
  font-weight: 500;
}
.auth-forgot-link a:hover {
  text-decoration: underline;
}
.auth-code-input {
  letter-spacing: 0.5em;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}
.auth-inline-form {
  margin-top: 12px;
  text-align: center;
}
.auth-link-button {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary, #0f546e);
  cursor: pointer;
}
.auth-link-button:hover {
  text-decoration: underline;
}

/* ---- Invitation publique d'un programme ---- */
.invite-card{max-width:520px}
.invite-pro{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.invite-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none}
.invite-avatar--initial{display:flex;align-items:center;justify-content:center;background:var(--color-primary,#0f546e);color:#fff;font-weight:700;font-size:22px}
.invite-pro-name{font-weight:700;font-size:17px;color:var(--color-text,#111827)}
.invite-pro-meta{font-size:13.5px;color:#6b7280}
.invite-heading{font-size:24px;line-height:1.25}
.invite-lookfor{background:#f2f5f7;border-left:4px solid var(--color-primary,#0f546e);border-radius:8px;padding:12px 14px;margin:6px 0 20px}
.invite-lookfor p{margin:4px 0 0;font-size:15px;color:#1f2937;line-height:1.45}
.invite-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#0d4960;font-weight:600}
.invite-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.invite-phone{display:grid;grid-template-columns:120px 1fr;gap:8px}
.invite-phone select{font-size:15px;padding:0 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;height:48px}
.invite-hint{display:block;font-size:12.5px;color:#6b7280;margin-top:4px}
.invite-fineprint{font-size:12.5px;color:#6b7280;margin:14px 0 0;line-height:1.45}
.invite-check{width:56px;height:56px;border-radius:50%;background:#dcfce7;color:#15803d;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:700;margin-bottom:14px}
.invite-next{font-size:15px;color:#374151;margin:0 0 14px}
.invite-btn-link{display:block;text-align:center;text-decoration:none}
.auth-checkbox--consent{margin-top:6px;font-size:13.5px;color:#4b5563}
@media (max-width:520px){.invite-row{grid-template-columns:1fr}.invite-phone{grid-template-columns:100px 1fr}}
