/* -----------------------------------------------------------
   BRANDING VARIABLES (As provided)
   ----------------------------------------------------------- */
:root {
    --bg-main: #050b09;
    --bg-card: #0d1211;
    --bg-footer: #020505;
    --bg-nav: rgba(5, 11, 9, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --primary-green: #70d86e;
    --primary-green-dark: #4a7a52;
    --primary-green-hover: #558b5e;
    --text-white: #ffffff;
    --text-grey: #8b9593;
    --text-dark: #0b1f12;
    --text-muted: #aaa;
    --color-border: rgba(255, 255, 255, 0.08);
    --grad-cta: linear-gradient(90deg, #8ae488 0%, #6bd968 100%);
    --grad-glow: radial-gradient(circle, rgba(48, 99, 58, 0.2) 0%, rgba(5, 11, 9, 0) 70%);
}

/* -----------------------------------------------------------
   CORE LAYOUT
   ----------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-grey);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}

.onboarding-core-shell {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

@media (max-width: 992px) {
    .onboarding-core-shell { flex-direction: column; }
}

/* -----------------------------------------------------------
   LEFT SIDE: INSTITUTIONAL BRANDING
   ----------------------------------------------------------- */
.identity-visual-section {
    flex: 1;
    background: linear-gradient(rgba(5, 11, 9, 0.8), rgba(5, 11, 9, 0.95)),
                var(--grad-glow),
                url('https://images.unsplash.com/photo-1639762681485-074b7f938ba0?auto=format&fit=crop&q=80&w=2000'); /* Use a generic high-res tech background */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    border-right: 1px solid var(--color-border);
}

.identity-content-wrap {
    text-align: center;
    max-width: 450px;
    z-index: 5;
}

.identity-content-wrap .brand-logo-main {
    max-width: 220px;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(112, 216, 110, 0.2));
}

.identity-content-wrap h1 {
    color: var(--text-white);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.identity-content-wrap p {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* -----------------------------------------------------------
   RIGHT SIDE: MULTI-STEP INTERFACE
   ----------------------------------------------------------- */
.entry-interaction-section {
    flex: 1.2;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.form-engine-container {
    width: 100%;
    max-width: 480px;
}

/* Progress Tracker */
.onboarding-step-tracker {
    display: flex;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.step-indicator-bar {
    height: 5px;
    flex: 1;
    background: var(--color-border);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-indicator-bar.is-active {
    background: var(--grad-cta);
    box-shadow: 0 0 12px rgba(112, 216, 110, 0.4);
}

/* -----------------------------------------------------------
   INPUT & FORM STYLING (Institutional Look)
   ----------------------------------------------------------- */
.entry-field-group {
    margin-bottom: 1.4rem;
}

.entry-field-label {
    display: block;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.field-input-box {
    width: 100%;
    background-color: var(--bg-glass);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
}

.field-input-box:focus {
    border-color: var(--primary-green);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(112, 216, 110, 0.1);
}

.field-input-box::placeholder {
    color: var(--text-muted);
}

/* Select arrows fix */
select.field-input-box {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b9593' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

/* -----------------------------------------------------------
   ACTION BUTTONS
   ----------------------------------------------------------- */
.trigger-btn-primary {
    width: 100%;
    background: var(--grad-cta);
    border: none;
    padding: 16px;
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trigger-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(112, 216, 110, 0.5);
    filter: brightness(1.05);
}

.trigger-btn-back {
    width: 100%;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--text-grey);
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
}

.trigger-btn-back:hover {
    border-color: var(--text-grey);
    color: var(--text-white);
}

/* -----------------------------------------------------------
   ONBOARDING STEP VISIBILITY
   ----------------------------------------------------------- */
.onboarding-step-content {
    display: none;
}

.onboarding-step-content.is-visible {
    display: block;
    animation: authFadeIn 0.5s ease forwards;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------
   COMPLIANCE & FOOTER (Google Trust Signals)
   ----------------------------------------------------------- */
.legal-compliance-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.legal-compliance-footer p {
    font-size: 0.72rem;
    color: var(--text-muted) !important;
    line-height: 1.5;
    text-align: center;
}

.accent-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.accent-link:hover {
    text-decoration: underline;
}

.footer-redirect-wrap {
    text-align: center;
    margin-top: 1.5rem;
}