/* =============================================================================
   BonTrip — Provider auth pages (register, login, verify, forgot, reset)
   ============================================================================= */

/* Section integrata in layoutul principal — fara body-level styles.
   Aceleasi stiluri pentru toate contextele de auth (provider, member, etc.) */
.provider-auth-section,
.member-auth-section,
.auth-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 40px 16px 60px;
    min-height: calc(100vh - 200px);
}

.provider-auth-section .container,
.member-auth-section .container,
.auth-section .container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.provider-auth-container,
.member-auth-container,
.auth-container {
    width: 100%;
    max-width: 460px;
}

/* Optional hint aliniat inline langa label (ex: "opțional") */
.form-hint-inline {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
    margin-left: 6px;
}

/* ============================================================================
   PERSONA EYEBROW — mica eticheta deasupra titlului pt identificare rapida
   ============================================================================ */
.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.auth-eyebrow i { font-size: 11px; }

/* Provider — cool blue/cyan (business, trust) */
.auth-eyebrow--provider {
    background: linear-gradient(135deg, #dbeafe, #cffafe);
    color: #1e40af;
}

/* Member — warm coral/pink (traveler, adventure) */
.auth-eyebrow--member {
    background: linear-gradient(135deg, #ffedd5, #fce7f3);
    color: #c2410c;
}

/* ============================================================================
   MEMBER AUTH — paleta calda (warm coral, distinct de provider)
   ============================================================================ */
.member-auth-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fce7f3 100%) !important;
}

.member-auth-section .btn-primary {
    background: linear-gradient(135deg, #f97316, #ec4899);
}
.member-auth-section .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, .3);
}

.member-auth-section .auth-form .form-control:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.member-auth-section .auth-alt-link a,
.member-auth-section .auth-secondary-link:hover,
.member-auth-section .btn-link-inline {
    color: #ea580c;
}

.member-auth-section .auth-icon--success {
    background: #ffedd5;
    color: #ea580c;
}

.member-auth-section .form-checkbox input {
    accent-color: #f97316;
}

/* Card decoration — subtila umbra colorata pt member */
.member-auth-section .auth-card {
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.10);
    border-top: 3px solid #f97316;
}

/* Card decoration provider — accent albastru discret */
.provider-auth-section .auth-card {
    border-top: 3px solid #2563eb;
}

/* Alerts */
.provider-auth-container .alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Card */
.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}
.auth-card--wide { max-width: 720px; }
.auth-card--message { text-align: center; padding: 40px 28px; }

.auth-card-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-card-header h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.auth-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.auth-icon-large {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 34px;
}
.auth-icon--success { background: #dcfce7; color: #16a34a; }
.auth-icon--error   { background: #fee2e2; color: #dc2626; }

.auth-body-text {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin: 12px 0;
}
.auth-body-text--muted { color: #94a3b8; font-size: 13px; }

/* Form */
.auth-form .form-group {
    margin-bottom: 16px;
}
.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.auth-form label .required { color: #dc2626; margin-left: 2px; }
.auth-form .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.auth-form .form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.auth-form .form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
}
.code-input {
    letter-spacing: 12px;
    font-size: 24px !important;
    text-align: center;
    font-weight: 600;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.form-row-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 8px;
    flex-wrap: wrap;
}
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}
.form-checkbox input { width: 16px; height: 16px; cursor: pointer; }

/* Buttons */
.auth-form .btn,
.auth-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    transition: transform .05s ease, box-shadow .15s ease, background .15s ease;
    font-family: inherit;
}
.auth-form .btn-block { width: 100%; }
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(37, 99, 235, .3);  }
.btn-secondary {
    background: #f1f5f9;
    color: #334155;
}
.btn-secondary:hover { background: #e2e8f0; }

.auth-alt-link {
    margin: 20px 0 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}
.auth-alt-link a { color: #2563eb; font-weight: 600; text-decoration: none; margin-left: 4px; }
.auth-alt-link a:hover { text-decoration: underline; }

.auth-secondary-link {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
}
.auth-secondary-link:hover { color: #2563eb; text-decoration: underline; }

.btn-link-inline {
    background: transparent;
    border: 0;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    text-decoration: none;
    font-family: inherit;
}
.btn-link-inline:hover:not(:disabled) { text-decoration: underline; }
.btn-link-inline:disabled { color: #94a3b8; cursor: not-allowed; }
.resend-msg { display: inline-block; margin-left: 8px; font-size: 12px; }
.resend-msg.is-success { color: #16a34a; }
.resend-msg.is-error { color: #dc2626; }

/* Provider dashboard placeholder */
.provider-dash-placeholder {
    margin: 20px 0;
    padding: 20px;
    background: #f1f5f9;
    border-radius: 10px;
    color: #475569;
    font-size: 14px;
}
.provider-dash-placeholder ul { margin: 8px 0 0; padding-left: 20px; }
