﻿/* ===================================================== */
/* Shared Authentication Cards */
/* ===================================================== */

.gf-auth-card {
    border: 2px solid rgba(49,58,68,.08);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
    background: rgba(255,255,255,.95);
}

.gf-card-body {
    padding: 3rem;
}

.gf-card-header {
    margin-bottom: 2.5rem;
}

/* ===================================================== */
/* Shared Account Pages */
/* ===================================================== */

.gf-page-actions {
    margin-top: 2rem;
}

.gf-auth-link {
    color: var(--gf-weathered-slate);
    text-decoration: none;
    font-weight: 500;
    text-align: left;
    font-size: .95rem;
}

    .gf-auth-link:hover {
        color: var(--gf-saffron);
        text-decoration: underline;
    }

/* ===================================================== */
/* Shared Form Controls */
/* ===================================================== */

/* General */

.form-label {
    font-size: .95rem;
    font-weight: 600;
}

.form-control {
    border-color: var(--gf-border);
    background: var(--gf-parchment);
    border-radius: 8px;
}

    .form-control:focus {
        border-color: var(--gf-saffron);
        box-shadow: 0 0 0 0.2rem rgba(235,203,0,.15);
    }

.form-check-input {
    border-color: var(--gf-border);
}

    .form-check-input:hover {
        cursor: pointer;
        box-shadow: 0 0 0 0.2rem rgba(235,203,0,.15);
    }

    .form-check-input:checked {
        background-color: var(--gf-weathered-slate) !important;
        border-color: var(--gf-weathered-slate) !important;
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.2rem rgba(49,58,68,.15);
    }

.btn-primary {
    background: var(--gf-weathered-slate);
    border-color: var(--gf-weathered-slate);
}

    .btn-primary:hover {
        background: #273039;
        border-color: #273039;
    }

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:focus-visible,
    .btn-check:checked {
        background: #273039 !important;
        border-color: #273039 !important;
        box-shadow: none !important;
    }

/* ===================================================== */
/* Shared Typography */
/* ===================================================== */

/* Apply Fonts */

.gf-app-title,
.gf-card-title,
.gf-section-title,
.gf-sso-title {
    font-family: "Noto Serif", serif;
}

.gf-card-title {
    font-family: "Noto Serif", serif;
    color: var(--gf-weathered-slate);
    font-size: 2.25rem;
    margin-bottom: .5rem;
}

.gf-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gf-weathered-slate);
    opacity: .85;
}

/* ===================================================== */
/* Login Page */
/* ===================================================== */

/* Auth Sections */

.gf-local-auth {
    margin-bottom: .5rem;
}

.gf-sso-section {
    margin-top: 1rem;
}

/* Log In */

.gf-section-title {
    margin-bottom: 1rem;
    color: var(--gf-weathered-slate);
    font-family: "Noto Serif", serif;
    color: var(--gf-weathered-slate);
    font-weight: 400;
    font-size: 1.1rem;
}

/* Auth Divider */

.gf-auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

    .gf-auth-divider::before,
    .gf-auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--gf-border);
    }

    .gf-auth-divider span {
        font-size: .8rem;
        color: var(--gf-weathered-slate);
        letter-spacing: .08em;
    }

/* Register Link */

.gf-register-text {
    color: var(--gf-weathered-slate);
    opacity: .85;
    margin-bottom: 0;
}

    .gf-register-text a {
        color: var(--gf-weathered-slate);
        font-weight: 600;
    }

        .gf-register-text a:hover {
            color: var(--gf-saffron);
            text-decoration: underline;
        }

/* Forgot Password Link */

.gf-local-auth a {
    color: var(--gf-weathered-slate);
}

    .gf-local-auth a:hover {
        color: var(--gf-saffron);
        text-decoration: underline;
    }

#PasswordVisibilityButton {
    background: var(--gf-weathered-slate);
    border-color: var(--gf-weathered-slate);
}

    #PasswordVisibilityButton:hover {
        background: #273039;
        border-color: #273039;
    }

.gf-microsoft-btn {
    width: 100%;
    background: var(--gf-white);
    border: 1px solid var(--gf-border);
    color: var(--gf-weathered-slate);
    padding: 12px 18px;
    height: 52px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--gf-transition);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    margin-top: 1rem;
}

    .gf-microsoft-btn:hover {
        background: var(--gf-weathered-slate);
        border-color: var(--gf-saffron);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
        color: var(--gf-white);
    }

/* Local Account*/

.gf-localacc-btn {
    width: 100%;
    background: var(--gf-white);
    border: 1px solid var(--gf-border);
    color: var(--gf-weathered-slate);
    padding: 12px 18px;
    height: 52px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--gf-transition);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    margin-top: 1rem;
    position: relative; /* anchor for the icon */
}

    .gf-localacc-btn:hover {
        background: var(--gf-weathered-slate);
        border-color: var(--gf-saffron);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
        color: var(--gf-white);
    }

    .gf-localacc-btn .gf-collapse-icon {
        position: absolute;
        right: 18px;
        top: 50%;
        margin-left: 0;
        transform: translateY(-50%);
        transition: transform 0.2s ease;
    }

    .gf-localacc-btn[aria-expanded="true"] .gf-collapse-icon {
        transform: translateY(-50%) rotate(90deg);
    }

/* Entra ID */

.gf-sso-title {
    color: var(--gf-weathered-slate);
    position: relative;
    padding-left: 14px;
    font-weight: 400;
    font-size: 1.1rem;
}

    .gf-sso-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 20px;
        background: var(--gf-saffron);
    }

.gf-sso-description {
    font-size: .95rem;
    line-height: 1.5;
}

/* ===================================================== */
/* Shared Transitions */
/* ===================================================== */

a,
button,
.btn,
.form-control,
.form-check-input {
    transition: var(--gf-transition);
}