/* Auth page styles. */

/* Auth pages */
.auth-body {
    background: linear-gradient(135deg, #f0f7ff 0%, #dbeafe 60%, #bfdbfe 100%);
    min-height: 100vh;
}

.auth-page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-card {
    background: #ffffff;
    border: 1px solid var(--auth-border);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 119, 200, 0.12);
}

/* Wide wordmark logo (login page) */
.auth-logo-img {
    width: 180px;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
}

/* Circular glyph badge (forgot / reset pages) */
.auth-logo-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.auth-logo-icon i {
    font-size: 1.75rem;
    color: var(--brand);
}

.auth-title {
    color: var(--auth-text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.auth-subtitle {
    color: var(--auth-muted);
    font-size: 0.95rem;
}

.auth-form-label {
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.35rem;
}

.auth-link {
    color: var(--brand) !important;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--brand-dark) !important;
    text-decoration: underline;
}

.btn-auth-submit {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.02em;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-auth-submit:hover:not(:disabled) {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 90, 142, 0.35);
}

.btn-auth-submit:disabled {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    opacity: 0.55;
    cursor: not-allowed;
}

/* Keep password errors outside the input group. */
.auth-card .error-message {
    color: #dc3545;
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

/* Undo Milligram's input margin inside Bootstrap input groups. */
.input-group > .form-control {
    margin-bottom: 0;
}
