:root {
    --ff: "Outfit", sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    --input-bg: rgba(255, 255, 255, 0.9);
}

/* Full-page background (uses asset so paths never break) */
body {
    font-family: var(--ff);
    background: url("../images/reg.jpg") no-repeat center center fixed;

    min-height: 100vh;
    margin: 0;
}

/* Center the content perfectly */
.wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* Optional subtle vignette for readability */
.wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        65% 65% at 50% 30%,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 100%
    );
    pointer-events: none;
}

/* Glass Card */
.glass-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;

    color: #fff;
    padding: 2.2rem 1.6rem;
}

.logo img {
    max-width: 130px;
    height: auto;
}

/* Inputs inside glass card */
.glass-card .form-control {
    background: var(--input-bg);
    border: 1px solid transparent;
    color: #1a1a1a;
}

.glass-card .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
    border-color: #0d6efd;
}

/* Links */
.glass-card a.text-link {
    color: #cfe1ff;
    text-decoration: none;
    font-weight: 600;
}

.glass-card a.text-link:hover {
    text-decoration: underline;
}

/* Primary button */
.glass-card .btn-primary {
    padding: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.25);
}

/* “Login with” button styled to match glass */
.login-with {
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0.85rem;
}

.login-with:hover {
    background: #fff;
}

.login-with img {
    width: 50px;
    height: 22px;
}

label {
    color: black;
}

/* remove any previous container height rules that fight centering */
.container {
    height: auto;
}
