/* ==========================================================
   MidnightGlass Theme
   Frosted glass, neon accents, soft shadows
   ========================================================== */

body {
    background: url('/themes/MidnightGlass/backgrounds/templenight.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #e8e8e8;
    font-family: "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* dark overlay for contrast */
    pointer-events: none;
    z-index: -1;
}
.g-recaptcha iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* NAVBAR -------------------------------------------------- */
.navbar {
    background: rgba(20, 22, 30, 0.65) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar a {
    color: #dfe6f1 !important;
    transition: 0.2s;
}

.navbar a:hover {
    color: #7cc7ff !important;
}

/* CARDS --------------------------------------------------- */
.card {
    background: rgba(10, 12, 18, 0.75) !important; /* dark frosted glass */
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.45);
    color: #e8e8e8;
}

.card h5, .card h4 {
    color: #ffffff;
}
.module-card {
    background: rgba(5, 7, 12, 0.85) !important;
}
.card h2, .card h4 {
    color: #ffffff;
}

/* BUTTONS ------------------------------------------------- */
.btn-primary {
    background: linear-gradient(135deg, #4aa8ff, #0066cc);
    border: none;
    transition: 0.2s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6bc0ff, #1a7be0);
}

/* FOOTER -------------------------------------------------- */
.footer {
    background: rgba(20, 22, 30, 0.65);
    backdrop-filter: blur(10px);
    color: #9aa4b3;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
}

/* HEADERS ------------------------------------------------- */
header {
    background: rgba(18, 20, 28, 0.55);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 30px 0;
}

header h1 {
    color: #dfe6f1;
    text-shadow: 0 0 12px rgba(120,180,255,0.4);
}
/* Force reCAPTCHA to show */
.g-recaptcha,
.g-recaptcha iframe,
.g-recaptcha div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 100% !important;
    min-height: 78px !important;
    z-index: 9999 !important;
    position: relative !important;
}