/* ================================================================
   PROJECTKART — LOGIN / REGISTER
================================================================ */

.page-auth {
    background: #07090d;
}

.auth-shell {
    padding: 48px 0 80px;
    background:
        radial-gradient(circle at 88% 0%, rgba(40, 120, 255, 0.14), transparent 32%),
        #07090d;
}

.auth-shell__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(380px, 460px);
    gap: 48px;
    align-items: start;
}

.auth-shell__grid--register {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
}

.auth-copy__eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #6ea0ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 4.8vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.94;
}

.auth-copy p {
    max-width: 460px;
    margin-top: 18px;
    color: #8b97ab;
    font-size: 16px;
    line-height: 1.7;
}

.auth-points {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.auth-point {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}

.auth-point span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(40, 120, 255, 0.22);
    border-radius: 12px;
    background: rgba(40, 120, 255, 0.1);
    color: #8eb4ff;
    font-size: 14px;
}

.auth-point strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.auth-point small {
    display: block;
    margin-top: 4px;
    color: #8b97ab;
    font-size: 13px;
    line-height: 1.5;
}

.auth-panel {
    padding: 32px 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background: #0c1118;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.auth-panel--wide {
    padding: 28px 28px 24px;
}

.auth-panel h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.auth-panel > p,
.auth-panel__intro {
    margin: 8px 0 24px;
    color: #8b97ab;
    font-size: 14px;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.page-auth .form-row {
    margin: 0;
}

.page-auth .form-group,
.page-auth .form-row .form-group {
    margin: 0;
    gap: 8px;
}

.page-auth label {
    color: #c5d0e0;
    font-size: 12px;
    font-weight: 600;
}

.page-auth input[type="text"],
.page-auth input[type="email"],
.page-auth input[type="password"],
.page-auth input[type="tel"],
.page-auth .auth-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: #10151d;
    color: #fff;
    font-size: 14px;
}

.page-auth input:focus {
    outline: none;
    border-color: rgba(40, 120, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(40, 120, 255, 0.12);
}

.page-auth .auth-field {
    position: relative;
}

.page-auth .password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8eb4ff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.page-auth input[type="password"],
.page-auth .auth-field input {
    padding-right: 64px;
}

.page-auth .form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.page-auth .form-label-row a {
    color: #5b8dff;
    font-size: 12px;
    font-weight: 600;
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.page-auth .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b7c2d3;
    font-size: 13px;
}

.page-auth .checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: #2878ff;
}

.auth-submit,
.page-auth .button-full {
    width: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.page-auth [hidden] {
    display: none !important;
}

.auth-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #8b97ab;
    font-size: 14px;
}

.auth-switch a {
    color: #5b8dff;
    font-weight: 600;
}

.password-strength {
    min-height: 16px;
    color: #8b97ab;
    font-size: 12px;
}

.password-strength[data-strength="weak"] { color: #ff8b8b; }
.password-strength[data-strength="medium"] { color: #ffd27d; }
.password-strength[data-strength="strong"] { color: #7ddea0; }

.form-help {
    color: #6f7b8f;
    font-size: 12px;
}

.form-checkbox-group {
    margin-top: 4px;
}

@media (max-width: 980px) {
    .auth-shell__grid,
    .auth-shell__grid--register {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .auth-copy {
        max-width: 560px;
    }
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 28px 0 56px;
    }

    .auth-panel,
    .auth-panel--wide {
        padding: 22px 18px;
    }

    .page-auth .form-row {
        grid-template-columns: 1fr;
    }

    .section-container {
        width: min(100% - 32px, var(--container-width));
    }
}
