﻿.kms-auth-body {
    min-height: 100vh;
    margin: 0;
    background-color: #f3efe8;
}

.kms-auth-page {
    min-height: 100vh;
}

.kms-auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
}

.kms-auth-brand {
    width: 100%;
    max-width: 500px;
    margin-bottom: 12px;
    text-align: left;
}

.kms-auth-brand-title {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #35424c;
    line-height: 1;
}

.kms-auth-brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #a45547;
}

.kms-auth-card {
    width: 100%;
    max-width: 500px;
    background-color: #fbf9f5;
    border: 1px solid #ddd5cb;
    border-radius: 8px;
    padding: 24px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

    .kms-auth-card h1 {
        margin: 0 0 16px 0;
        color: #35424c;
        font-size: 26px;
        font-weight: 600;
    }

.kms-auth-validation {
    margin-bottom: 10px;
}

.kms-auth-field .form-control {
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #d8d0c5;
    background-color: #ffffff;
    color: #35424c;
    font-size: 13px;
    margin-bottom: 12px;
}

        .kms-auth-field .form-control:focus {
            border-color: #a45547;
            box-shadow: 0 0 0 0.2rem rgba(164, 85, 71, 0.12);
        }

.kms-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    font-size: 14px;
}

.kms-auth-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #35424c;
    margin: 0;
}

.kms-auth-options a,
.kms-auth-register a {
    color: #a45547;
}

    .kms-auth-options a:hover,
    .kms-auth-register a:hover {
        color: #8f493e;
    }

.kms-terms-agree {
    margin-bottom: 12px;
    font-size: 13px;
}

.kms-auth-submit {
    width: 100%;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
}

.kms-auth-register {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: #747474;
}

.kms-auth-footer {
    width: 100%;
    max-width: 500px;
    margin-top: 12px;
    text-align: left;
    font-size: 12px;
    color: #747474;
}

    .kms-auth-footer strong {
        color: #a45547;
        font-weight: 600;
    }


.kms-auth-name-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 480px) {
    .kms-auth-name-row {
        grid-template-columns: 1fr;
    }
}
/* Registration only: compact form density without changing sign-in screens. */
.kms-auth-register-shell {
    padding-top: 12px;
    padding-bottom: 12px;
}

.kms-auth-register-shell .kms-auth-brand {
    margin-bottom: 8px;
}

.kms-auth-register-shell .kms-auth-card {
    padding: 18px 28px;
}

.kms-auth-register-shell .kms-auth-card h1 {
    margin-bottom: 12px;
    font-size: 24px;
}

.kms-auth-register-shell .kms-auth-field label {
    margin-bottom: 2px;
    font-size: 13px;
}

.kms-auth-register-shell .kms-auth-field .form-control {
    min-height: 32px;
    padding: 4px 9px;
    margin-bottom: 8px;
}

.kms-auth-register-shell .kms-auth-name-row {
    gap: 10px;
}

.kms-auth-register-shell .kms-terms-agree {
    margin: 5px 0 10px;
    font-size: 12px;
    line-height: 1.4;
}

.kms-auth-register-shell .kms-terms-agree label {
    display: block;
}

.kms-auth-register-shell .kms-terms-agree input[type="checkbox"] {
    margin-right: 4px;
}

.kms-auth-register-shell .kms-auth-formal-agreement {
    margin-top: 6px;
}

.kms-auth-register-shell .kms-auth-submit {
    min-height: 38px;
}

.kms-auth-register-shell .kms-auth-register {
    margin-top: 10px;
}

@media (max-width: 480px) {
    .kms-auth-register-shell .kms-auth-card {
        padding: 18px 18px;
    }
}
