﻿
.auth-page {
    min-height: 75vh;
    padding: 65px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at top, #29231c 0%, transparent 55%), #111111;
}

.auth-page-signup {
    padding-top: 45px;
    padding-bottom: 45px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 42px;
    color: #fff;
    background: #191919;
    border: 1px solid #343434;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .28);
}

.auth-card-wide {
    max-width: 620px;
}

.auth-brand {
    display: inline-block;
    margin-bottom: 35px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 1px;
}

    .auth-brand span {
        color: var(--color-accent, #c69b62);
    }

.auth-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--color-accent, #c69b62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.auth-card h1 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 750;
    letter-spacing: -1px;
}

.auth-subtitle {
    margin-bottom: 30px;
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
}

.auth-field {
    margin-bottom: 21px;
}

    .auth-field label {
        display: block;
        margin-bottom: 9px;
        color: #e7e7e7;
        font-size: 12px;
        font-weight: 600;
    }

    .auth-field .form-control {
        min-height: 49px;
        padding: 12px 14px;
        color: #fff;
        background: #101010;
        border: 1px solid #393939;
        border-radius: 0;
        font-size: 16px;
        box-shadow: none;
    }

        .auth-field .form-control::placeholder {
            color: #777;
        }

        .auth-field .form-control:focus {
            border-color: var(--color-accent, #c69b62);
            box-shadow: 0 0 0 2px rgba(198, 155, 98, .12);
        }

        .auth-field .form-control:focus-visible {
            outline: none;
        }

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper .form-control {
        padding-right: 48px;
    }

.password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    padding: 4px;
    color: #aaa;
    background: transparent;
    border: 0;
    font-size: 17px;
}

    .password-toggle:hover {
        color: var(--color-accent, #c69b62);
    }

.auth-hint {
    display: block;
    margin-top: 7px;
    color: #858585;
    font-size: 11px;
}

.auth-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #111;
    background: var(--color-accent, #c69b62);
    border: 1px solid var(--color-accent, #c69b62);
    border-radius: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: .2s ease;
}

    .auth-submit:hover:not(:disabled) {
        color: #fff;
        background: #a77d49;
        border-color: #a77d49;
    }

    .auth-submit:disabled {
        cursor: wait;
        opacity: .7;
    }

.auth-alert,
.auth-success {
    padding: 12px 14px;
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.auth-alert {
    color: #ffc5c5;
    background: #321d1d;
    border: 1px solid #704040;
}

.auth-success {
    color: #c8f3d2;
    background: #173021;
    border: 1px solid #2d6540;
}

    .auth-alert[hidden],
    .auth-success[hidden] {
        display: none !important;
    }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 29px 0 20px;
    color: #858585;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

    .auth-divider::before,
    .auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #363636;
    }

.auth-secondary {
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid #555;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

    .auth-secondary:hover {
        color: var(--color-accent, #c69b62);
        border-color: var(--color-accent, #c69b62);
    }

.auth-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    color: #999;
    font-size: 11px;
}

    .auth-back:hover {
        color: #fff;
    }

@media (max-width: 575.98px) {
    .auth-page {
        padding: 30px 14px;
        min-height: 70vh;
    }

    .auth-card {
        padding: 28px 22px;
    }

    .auth-brand {
        margin-bottom: 28px;
    }
}
