/**
 * ==============================================================================
 * Progoti Bazar - Customer Authentication & Recovery Module (customer-auth.css)
 * Architecture: Anti-Gravity Solidism V3.2
 * Typography: Hind Siliguri (Bengali Native Sans-Serif), Roboto (Numerals)
 * ==============================================================================
 */

/* ── 1. Section & Canvas ── */
.pb-auth-section {
    background-color: #F8FAFC;
    min-height: 75vh;
    padding: 24px 0 48px;
    font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.pb-auth-section input,
.pb-auth-section button,
.pb-auth-section select,
.pb-auth-section textarea,
.pb-auth-section label,
.pb-auth-section span,
.pb-auth-section p,
.pb-auth-section h1,
.pb-auth-section h2,
.pb-auth-section h3,
.pb-auth-section h4 {
    font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.pb-auth-container {
    max-width: 80rem; /* 1280px / max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* ── 2. Unified Elevated Breadcrumb Inside Auth ── */
.pb-auth-breadcrumb {
    background-color: #FFFFFF !important;
    border-radius: 6px !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
    border: 0 !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 24px !important;
    flex-wrap: wrap !important;
}

.pb-auth-breadcrumb a {
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.pb-auth-breadcrumb a:hover {
    color: #0D5C3A;
}

.pb-auth-breadcrumb .separator {
    color: #94A3B8;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
}

.pb-auth-breadcrumb .active {
    color: #0F172A;
    font-weight: 700;
}

/* ── 3. Structural Cards (Zero-Border Elevation) ── */
.pb-auth-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pb-auth-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 0;
    overflow: hidden;
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .pb-auth-card {
        flex-direction: row;
    }
}

.pb-auth-card-wide {
    max-width: 980px;
}

.pb-auth-card-compact {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 0;
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    padding: 32px 28px;
}

/* ── 4. Brand Information Panel (Left Column) ── */
.pb-auth-brand-panel {
    background: #0D5C3A;
    background: linear-gradient(150deg, #0D5C3A 0%, #083E27 100%);
    color: #FFFFFF;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .pb-auth-brand-panel {
        width: 42%;
    }
}

.pb-auth-brand-logo-box {
    width: 52px;
    height: 52px;
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-bottom: 20px;
    border: 0;
}

.pb-auth-brand-logo-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.pb-auth-brand-title {
    font-family: 'Hind Siliguri', sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
}

.pb-auth-brand-desc {
    font-size: 13px;
    color: #E2E8F0;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}

.pb-auth-feat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.pb-auth-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #F8FAFC;
}

.pb-auth-feat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #FDE68A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.pb-auth-brand-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    font-size: 12px;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pb-auth-brand-footer a {
    color: #FDE68A;
    font-weight: 700;
    text-decoration: none;
}

/* ── 5. Form Panel (Right Column) ── */
.pb-auth-form-panel {
    background: #FFFFFF;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .pb-auth-form-panel {
        width: 58%;
    }
}

.pb-auth-form-header {
    margin-bottom: 22px;
}

.pb-auth-form-title {
    font-family: 'Hind Siliguri', sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.pb-auth-form-subtitle {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
    margin: 0;
}

/* ── 6. Controls, Inputs & Geometry ── */
.pb-auth-input-group {
    position: relative;
    margin-bottom: 16px;
}

.pb-auth-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.pb-auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pb-auth-input {
    width: 100%;
    height: 42px;
    padding: 8px 14px 8px 38px;
    background: #F8FAFC;
    border: 0 !important;
    border-radius: 6px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.pb-auth-input:focus {
    outline: none;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px #0D5C3A;
}

.pb-auth-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94A3B8;
    pointer-events: none;
    z-index: 2;
}

.pb-auth-pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #94A3B8;
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
    z-index: 2;
}

.pb-auth-pass-toggle:hover {
    color: #0D5C3A;
}

/* ── 7. Tactile Buttons ── */
.pb-auth-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    background-color: #0D5C3A;
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    border: 0 !important;
    border-radius: 6px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    text-decoration: none;
}

.pb-auth-btn-primary:hover {
    background-color: #09472C;
}

.pb-auth-btn-primary:active {
    transform: translateY(1px);
}

.pb-auth-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #F1F5F9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    border: 0 !important;
    border-radius: 6px;
    box-shadow: rgba(99, 99, 99, 0.15) 0px 1px 4px 0px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.pb-auth-btn-secondary:hover {
    background-color: #E2E8F0;
    color: #0D5C3A;
}

.pb-auth-btn-secondary:active {
    transform: translateY(1px);
}

/* ── 8. Role Selection Cards (Register) ── */
.pb-auth-role-card {
    background-color: #F8FAFC;
    border: 0 !important;
    border-radius: 6px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 12px 14px;
    transition: all 0.15s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-auth-role-card:hover {
    background-color: #F1F5F9;
}

.pb-auth-role-card:active {
    transform: translateY(1px);
}

/* ── 9. Divider & Footer Links ── */
.pb-auth-divider {
    border-top: 1px solid #F1F5F9;
    margin: 18px 0;
}

.pb-auth-footer-prompt {
    font-size: 12.5px;
    color: #64748B;
    text-align: center;
}

.pb-auth-footer-link {
    font-weight: 700;
    color: #0D5C3A;
    text-decoration: none;
    margin-left: 4px;
}

.pb-auth-footer-link:hover {
    text-decoration: underline;
    color: #09472C;
}

/* ── 10. Compact OTP Badge Header ── */
.pb-auth-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #ECFDF5;
    color: #0D5C3A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 14px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 0;
}

/* ── 11. Parsley Error Validation ── */
.parsley-errors-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
    color: #DC2626;
    font-size: 11.5px;
    font-weight: 600;
}
