/*
 * Standalone login / forgot / reset pages
 */

html,
body.auth-page {
    min-height: 100%;
}

body.auth-page.login-page {
    background: #1b2430;
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    height: auto;
    min-height: 100vh;
    padding: 24px 12px;
}

body.auth-page > form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.auth-box {
    width: 420px;
}

@media (max-width: 576px) {
    .auth-box {
        width: 90%;
        margin-top: .5rem;
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.25rem;
}

    .auth-logo img {
        max-width: 280px;
        max-height: 80px;
        height: auto;
    }

.auth-box .card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
    overflow: hidden;
}

.auth-box .login-card-body {
    padding: 28px 28px 24px;
}

.auth-title {
    margin: 0 0 .35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 1.15rem;
    color: #6c757d;
    font-size: .88rem;
    text-align: center;
}

.auth-box .input-group {
    margin-bottom: 1rem;
}

.auth-box .form-control {
    height: calc(1.5em + .9rem + 2px);
    border-radius: 8px 0 0 8px;
}

.auth-box .input-group-text {
    border-radius: 0 8px 8px 0;
    min-width: 42px;
    justify-content: center;
}

.auth-box .btn-auth {
    border-radius: 8px;
    padding: .55rem .75rem;
    font-weight: 600;
}

.auth-box .btn-auth:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.auth-links {
    margin-top: 1rem;
    text-align: center;
}

    .auth-links a {
        color: #dc3545;
        font-size: .88rem;
        font-weight: 600;
    }

        .auth-links a:hover {
            color: #a71d2a;
        }

.auth-turnstile {
    display: flex;
    justify-content: center;
    margin: .25rem 0 1rem;
}

.auth-box .alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

    .auth-box .alert p {
        margin: 0;
        font-size: .88rem;
        font-weight: 500;
    }

    .auth-box .alert h4 {
        margin: 0 0 .35rem;
        font-size: .9rem;
        font-weight: 700;
    }

.auth-box .alert-error,
.auth-box .alert-danger {
    background: rgba(220, 53, 69, .08);
    border: 1px solid rgba(220, 53, 69, .2);
    border-left: 4px solid #dc3545;
    color: #842029;
}

.auth-box .alert-info {
    background: rgba(13, 110, 253, .05);
    border: 1px solid rgba(13, 110, 253, .15);
    border-left: 4px solid #0d6efd;
    color: #084298;
}

.auth-box .alert-success {
    background: rgba(25, 135, 84, .05);
    border: 1px solid rgba(25, 135, 84, .15);
    border-left: 4px solid #198754;
    color: #0f5132;
}
