:root {
    --bg: #050712;
    --panel: #0b1020;
    --accent: #00f6ff;
    --accent-secondary: #ff2fd6;
    --text-main: #f5f7ff;
    --text-muted: #8f9ac5;
    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow-neon: 0 0 22px rgba(0, 246, 255, 0.55);
    --shadow-pink: 0 0 22px rgba(255, 47, 214, 0.55);
    --transition-fast: 160ms ease-out;
}

:root {
    /* --hud-bg: #030712;
    --hud-card: #0b1329;
    --hud-border: #1e293b; */
    --neon-cyan: #00f3ff;
    /* --neon-magenta: #ff007f;
    --neon-purple: #a855f7;
    --text-main: #f8fafc;
    --text-muted: #94a3b8; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at top, #151a3a 0, #050712 55%, #02030a 100%);
    font-family: system-ui, sans-serif;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

/* Active state triggered by JS */
body.is-loading #oq-global-loader {
    display: flex;
}

/****************TOAST START***************************/
/* Toast Notification */
#toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    transform: translateY(80px);
    opacity: 0;
    background-color: var(--hud-card);
    border: 1px solid var(--neon-cyan);
    color: #fff;
    padding: 14px 20px;
    border-radius: 0.75rem;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 50;
    font-size: 0.875rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#toast.show {
    transform: translateY(0);
    opacity: 1;
}

/****************TOAST END*****************************/

/* Full-screen overlay container */
#oq-global-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    /* Dark backdrop */
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

/* The spinning circle */
.oq-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3b82f6;
    /* Your accent color */
    border-radius: 50%;
    animation: oq-spin 0.8s linear infinite;
}

@keyframes oq-spin {
    to {
        transform: rotate(360deg);
    }
}

/* HEADER */
header.main-site-header {
    width: 100%;
    padding: 6px 24px;
    background: rgba(5, 7, 18, 0.7);
    border-bottom: 1px solid rgba(0, 246, 255, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(6px);
}

header.main-site-header {
    font-family: 'Orbitron', sans-serif;
}

.site-title {
    display: flex;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    text-shadow: var(--shadow-neon);
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.site-title img {
    width: 30px;
    margin-right: 12px;
}

.main-site-header nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-right: 32px;
    width: 100%;
}

/* .main-site-header nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.main-site-header nav a:hover {
    color: var(--accent);
} */

/* PAGE TITLE */
.page-title {
    text-align: center;
    margin: 24px 0 12px;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-shadow: var(--shadow-neon);
}






/* Brand Logo */
/* .nav-brand a {
    color: #d8b4fe;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(216, 180, 254, 0.3);
} */

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Desktop Links */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-item {
    color: #94a3b8;
    text-decoration: none;
    /* font-size: 0.85rem; */
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #38bdf8;
}

/* Right Cluster & Quick Mobile Stats */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    color: #ffbd2e;
}

/* Avatar Ring & Dropdown Container */
.user-profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.avatar-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 2px;
    background: radial-gradient(circle, #ff007a, #9900ff);
    box-shadow: 0 0 10px rgba(255, 0, 122, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #0f172a;
}

.user-greeting {
    color: #38bdf8;
    /* font-size: 0.85rem; */
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Dropdown Profile Menu */
.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    width: 160px;
    background: #091122;
    border: 1px solid rgba(255, 0, 122, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    z-index: 101;
}

.profile-dropdown.open {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 10px 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-dropdown a:hover {
    background: rgba(255, 0, 122, 0.15);
    color: #38bdf8;
}





/* CENTER WRAPPER */
.center-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    width: 100%;
}

.form-title {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-shadow: var(--shadow-neon);
}

/* FORM ELEMENTS */
form {
    display: grid;
    gap: 20px;
}

label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 246, 255, 0.3);
    background: rgba(5, 7, 18, 0.7);
    color: var(--text-main);
    font-size: 16px;
    transition: var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: var(--shadow-neon);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
}

/* SUBMIT BUTTON */
.submit-btn {
    padding: 16px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #00f6ff, #ff2fd6);
    color: #050712;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(0, 246, 255, 0.7);
    transition: var(--transition-fast);
}

.submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* FOOTER */
footer {
    padding: 16px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 246, 255, 0.25);
    background: rgba(5, 7, 18, 0.7);
    backdrop-filter: blur(6px);
}

@media (max-width: 700px) {
    .main-site-header nav {
        display: none;
    }
}