﻿.auth-shell {
    padding: 38px;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 36, 71, .07);
}

.signup-preview-card {
    position: relative;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .97);
    color: var(--primary);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .65);
}

.signup-preview-card strong {
    color: var(--primary);
}

.signup-preview-card small,
.signup-preview-text {
    color: #536174 !important;
}

.signup-preview-text {
    font-weight: 600;
    line-height: 1.65;
}

.signup-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf5;
}

.signup-progress span {
    display: block;
    width: 95%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--success));
}

.signup-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.signup-stat i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--success);
    background: rgba(34, 197, 94, .14);
}

.signup-stat strong {
    display: block;
    color: var(--primary);
    font-size: 1.28rem;
    line-height: 1.1;
}

.signup-stat small {
    color: var(--muted);
}

.auth-aside {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 44px;
    border-radius: var(--radius-xl);
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(247, 201, 72, .32), transparent 40%),
        linear-gradient(135deg, #050f23 0%, #0a1f3f 55%, #15346a 100%);
    box-shadow: var(--shadow);
}

.auth-aside::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 201, 72, .25), transparent 65%);
}

.auth-aside p {
    color: rgba(255, 255, 255, .82);
}

.auth-aside .badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.benefit-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.benefit-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, .85);
}

.benefit-list i {
    color: var(--accent);
    margin-top: 4px;
}

.program-toggle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(11, 36, 71, .06);
}

.program-toggle .program-option {
    position: relative;
    margin: 0;
}

.program-toggle .program-option input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.program-toggle .program-option label,
.program-toggle .program-option > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.program-toggle .program-option input:checked + span,
.program-toggle .program-option input:checked + label {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--primary);
    box-shadow: 0 16px 30px rgba(247, 201, 72, .35);
}

.program-toggle .program-option.program-eu input:checked + span {
    background: linear-gradient(135deg, var(--info) 0%, #0ea5e9 100%);
    color: #fff;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group .helper {
    margin-top: 6px;
    color: var(--muted);
    font-size: .82rem;
}

.password-shell {
    position: relative;
}

.password-shell .form-control {
    padding-right: 3rem;
}

.password-shell .toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 1rem;
}

.consent-block {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: var(--soft);
    border: 1px solid rgba(11, 36, 71, .08);
}

.consent-block .form-check-label {
    color: var(--text);
}

.signup-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .8);
}

.signup-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.signup-trust i {
    color: var(--accent);
}

@media (max-width: 991.98px) {
    .signup-section {
        padding-top: 36px;
    }

    .signup-layout {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .signup-hero {
        padding: 34px 0 28px;
    }

    .signup-hero .eyebrow {
        margin-bottom: 10px;
        font-size: .68rem;
    }

    .signup-hero h1 {
        font-size: 1.65rem;
        margin-bottom: 8px;
    }

    .signup-hero p {
        max-width: 100%;
        margin-bottom: 0;
        font-size: .92rem;
        line-height: 1.5;
    }

    .signup-hero .trust-badge {
        display: none;
    }

    .signup-section {
        padding-top: 18px;
        padding-bottom: 44px;
    }

    .auth-shell {
        padding: 22px;
        border-radius: 22px;
    }

    .auth-shell .eyebrow {
        margin-bottom: 10px;
        font-size: .68rem;
    }

    .auth-shell h2 {
        font-size: 1.45rem;
    }

    .auth-shell > p {
        margin-bottom: 4px;
        font-size: .92rem;
    }

    .form-control,
    .form-select {
        padding: .78rem .95rem;
    }

    .program-toggle {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .program-toggle .program-option label,
    .program-toggle .program-option > span {
        border-radius: 14px;
    }

    .auth-aside {
        padding: 28px;
    }

    .signup-section .auth-shell .row.g-3 {
        --bs-gutter-y: .85rem;
    }

    .signup-section .btn-lg {
        padding: .86rem 1.2rem;
    }
}
