.wrap {
    width: 100%;
    max-width: 1280px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.7);
    overflow: hidden;
    display: flex;
}

/* left illustration / info */
.left {
    flex: 1.5;
    padding: 48px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(6, 182, 212, 0.06));
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    font-size: 20px;
}

.brand {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 22px
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #04202a;
    font-weight: 700;
    font-size: 22px
}

h2 {
    margin: 0;
    font-size: 28px
}

p.lead {
    margin: 0;
    color: var(--muted);
    font-size: 20px
}

/* right card */
.right {
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.015));
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 480px;
    background: var(--card);
    border-radius: 16px;
    padding: 32px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 8px 22px rgba(2, 6, 23, 0.7);
    font-size: 18px;
}

.toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    background: var(--glass);
    padding: 8px;
    border-radius: 16px;
    width: fit-content;
}

.toggle button {
    background: transparent;
    border: 0;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--muted);
    cursor: pointer;
    font-weight: 600;
    font-size: 18px
}

.toggle button.active {
    background: linear-gradient(90deg, rgba(110, 231, 183, 0.15), rgba(96, 165, 250, 0.1));
    color: var(--accent);
    box-shadow: 0 6px 16px rgba(36, 116, 93, 0.08);
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px
}

label {
    font-size: 16px;
    color: var(--muted)
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    color: inherit;
    font-size: 16px
}

.row {
    display: flex;
    gap: 12px
}

.row .half {
    flex: 1
}

.btn {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    color: #052225;
    font-size: 18px
}

.muted-line {
    font-size: 16px;
    color: var(--muted);
    text-align: center;
    margin-top: 12px
}

.socials {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px
}

.socials button {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 16px
}

/* small screens */
@media (max-width:780px) {
    .wrap {
        flex-direction: column
    }

    .left {
        display: none
    }

    body {
        padding: 24px;
        font-size: 16px
    }
}

/* small helper */
.hint {
    font-size: 14px;
    color: var(--muted)
}

.error {
    color: #ff8b8b;
    font-size: 15px
}
.topbar {
    margin-bottom: 20px;
}