/* BODH Modern Auth UI - High-Fidelity Match */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.bodh-premium-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    box-sizing: border-box;
    width: 100%;
    background-color: #ffffff;
    min-height: 100vh;
}

.bodh-auth-layout {
    width: 100%;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* 3-Column Hero Section */
.bodh-auth-hero { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 2rem; width: 100%; max-width: 1100px; margin: 0 auto; }
@media (min-width: 1024px) { .bodh-auth-hero { flex-wrap: nowrap; gap: 3rem; align-items: flex-start; } }

/* Left Column - Graphic/Trust */
.bodh-hero-left { text-align: left !important; justify-content: flex-start; display: flex; flex-direction: column; flex: 1 1 280px; max-width: 340px; margin-top: 1.5rem; }
.bodh-hero-graphic {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #eff6ff 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1rem;
}
.bodh-graphic-shield {
    width: 64px; height: 64px;
    background: #2563eb;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37,99,235,0.3);
    position: absolute;
    z-index: 2;
    bottom: 20px; left: 10px;
}
.bodh-graphic-card {
    width: 90px; height: 110px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    position: absolute;
    top: 10px; right: 20px;
    display: flex; flex-direction: column; align-items: center; padding-top: 15px;
}
.bodh-hero-left h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}
.bodh-hero-left p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Right Column - Features */
.bodh-hero-right { text-align: left !important; justify-content: flex-start; display: flex; flex-direction: column; flex: 1 1 280px; max-width: 340px; margin-top: 1.5rem; gap: 2rem; }
.bodh-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.bodh-feature-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bodh-feature-icon.green { background: #dcfce7; color: #16a34a; }
.bodh-feature-icon.blue { background: #e0e7ff; color: #3b82f6; }
.bodh-feature-icon.purple { background: #f3e8ff; color: #9333ea; }
.bodh-feature-text h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}
.bodh-feature-text p {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

/* Center Column - Auth Card */
.bodh-auth-card-wrapper { text-align: left !important; background: #ffffff; border-radius: 24px; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.02); padding: 2.5rem; flex: 0 0 100%; max-width: 440px; position: relative; border: 1px solid #f1f5f9; }
.bodh-distributor-badge {
    background: #ecfdf5;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.bodh-distributor-badge svg {
    color: #10b981;
    flex-shrink: 0;
}
.bodh-distributor-badge p {
    margin: 0;
    font-size: 0.8125rem;
    color: #065f46;
    line-height: 1.4;
    font-weight: 500;
}
.bodh-distributor-badge a {
    color: #059669;
    text-decoration: underline;
    font-weight: 700;
}

/* Card Header */
.bodh-card-header {
    text-align: center;
    margin-bottom: 2rem;
}
.bodh-user-avatar {
    width: 56px; height: 56px;
    background: #eff6ff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    margin-bottom: 1rem;
}
.bodh-card-header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
}
.bodh-card-header p {
    margin: 0;
    font-size: 0.9375rem;
    color: #64748b;
}

/* Input Fields */
.bodh-form-group {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}
.bodh-form-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.bodh-form-icon {
    color: #94a3b8;
    margin-right: 1rem;
    display: flex;
    align-items: center;
}
.bodh-form-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bodh-form-input-wrapper label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.125rem;
}
.bodh-form-input-wrapper input {
    border: none;
    outline: none;
    padding: 0;
    font-size: 0.9375rem;
    color: #334155;
    background: transparent;
    width: 100%;
    font-family: inherit;
}
.bodh-form-input-wrapper input::placeholder {
    color: #94a3b8;
}
.bodh-forgot-link {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8125rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.bodh-forgot-link:hover { text-decoration: underline; }

/* Buttons */
.bodh-submit-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
    font-family: inherit;
    box-shadow: 0 4px 6px -1px rgba(37,99,235,0.2);
}
.bodh-submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 10px -2px rgba(37,99,235,0.3);
}

/* Card Footer */
.bodh-card-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}
.bodh-card-footer a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}
.bodh-card-footer a:hover { text-decoration: underline; }

/* Bottom Alerts Section */
.bodh-alerts-section { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; gap: 1.5rem; margin-top: 2rem; }

.bodh-alert-banner { border-radius: 12px; padding: 1.25rem; display: flex; align-items: flex-start; gap: 1rem; width: 100%; max-width: 900px; margin: 0 auto; }
.bodh-alert-blue {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}
.bodh-alert-yellow {
    background: #fffbeb;
    border: 1px solid #fde68a;
}
.bodh-alert-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}
.bodh-alert-icon.blue { background: #2563eb; }
.bodh-alert-icon.yellow { background: #f59e0b; }
.bodh-alert-text {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #334155;
    margin: 0;
}
.bodh-alert-blue .bodh-alert-text strong { color: #1e40af; }
.bodh-alert-yellow .bodh-alert-text strong { color: #b45309; }

/* Page Footer */
.bodh-page-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #64748b;
}
@media (min-width: 768px) {
    .bodh-page-footer {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}
.bodh-page-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.bodh-page-footer a:hover { text-decoration: underline; }
.bodh-footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#bodh-auth-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

/* External Label for inputs */
.bodh-external-label-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}
.bodh-external-label-group > label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}
.bodh-external-label-group .bodh-form-group {
    margin-bottom: 0;
}

/* Form Divider */
.bodh-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #94a3b8;
    font-size: 0.8125rem;
}
.bodh-divider::before, .bodh-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}
.bodh-divider span {
    padding: 0 1rem;
}

/* Right Column Box Variant */
.bodh-hero-right-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}






