/* ==========================================================================
   MNDSET WK 2026 GLOBAL ORACLE SYSTEM CSS - MAGNET HEADER & COMPACT TIMER
   ========================================================================== */

:root {
    --wk-gold: #ffd700;
    --wk-emerald: #00ff87;
    --wk-neon-blue: #00f0ff;
    --wk-card-bg: rgba(7, 10, 20, 0.85);
    --wk-panel-bg: rgba(10, 15, 30, 0.6);
}

.wk-body-wrapper {
    background-color: transparent;
    min-height: 100vh;
    padding-top: 180px; 
    position: relative;
}

.wk-body-wrapper::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(0,0,0,0) 50%, rgba(0, 255, 135, 0.015) 50%);
    background-size: 100% 4px;
    z-index: 0;
    pointer-events: none;
}

/* DE MAGNEET HEADER */
.wk-sticky-header {
    position: fixed; 
    top: 100px; 
    left: 0;
    width: 100%;
    background: rgba(2, 4, 10, 0.98); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 135, 0.15);
    z-index: 99; 
    padding: 15px 0; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    transition: top 0.1s ease-out; 
}

.wk-header-container {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.wk-main-title {
    color: #fff !important;
    font-size: 1.8rem !important;
    text-transform: uppercase;
    margin: 0 !important;
    letter-spacing: 2px !important;
    font-weight: 800;
}

.wk-sub-title {
    color: #64748b !important;
    font-size: 11px !important;
    margin: 2px 0 0 0 !important;
}

.animated-logo {
    width: 100% !important;
    max-width: 65px !important;
    height: auto !important;
    object-fit: contain !important;
    animation: floatingGlow 4s ease-in-out infinite !important;
}

@media (max-width: 576px) {
    .wk-header-container { flex-direction: column; gap: 5px; text-align: center; }
    .animated-logo { max-width: 50px !important; }
}

/* ==========================================================================
   NIEUWE COMPACTE TIMER CSS (Voor in de Match Feed)
   ========================================================================== */
.wk-compact-timer-wrapper {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255,215,0,0.02);
}

.wk-timer-label {
    color: var(--wk-gold);
    font-size: 11px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.wk-timer-flex {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.wk-timer-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(34, 211, 238, 0.15);
    padding: 6px 10px;
    border-radius: 4px;
    min-width: 50px;
}

.wk-timer-box span {
    display: block;
    font-size: 18px;
    color: var(--wk-neon-blue);
    font-weight: bold;
    font-family: monospace;
}

.wk-timer-box small {
    color: #64748b;
    font-size: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: monospace;
}

/* ARENA RUIMTE */
.wk-arena {
    position: relative;
    padding: 40px 0 80px 0 !important;
    z-index: 5;
}

/* LIVE FEED & LEADERBOARD GRID */
.wk-live-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .wk-live-dashboard { grid-template-columns: 1fr; }
}

/* Styling voor een dropdown die is ingevuld */
select.wk-input:valid {
    color: var(--wk-gold) !important;
    border-color: rgba(255, 215, 0, 0.4) !important;
    background-color: rgba(255, 215, 0, 0.05) !important;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255,215,0,0.2);
}

.wk-panel {
    background: var(--wk-panel-bg);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 8px;
    padding: 20px;
}

.panel-title {
    color: #fff !important;
    font-size: 12px !important;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wk-scroll-list {
    max-height: 200px;
    overflow-y: auto;
}

/* SCROLLBAR STYLING */
.wk-scroll-list::-webkit-scrollbar { width: 6px; }
.wk-scroll-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
.wk-scroll-list::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.3); border-radius: 10px; }

/* Table styling for standings */
.wk-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wk-table th { color: #64748b; padding: 8px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
.wk-table td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.02); color: #e2e8f0; }
.top-architect { background: rgba(0, 255, 135, 0.03); color: var(--wk-emerald) !important; }

/* Match row styling */
.wk-match-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    font-size: 12px;
}
.match-time { color: #64748b; }
.match-score { color: var(--wk-emerald); font-weight: bold; }

/* Pulsing indicators */
.pulse-indicator {
    width: 6px; height: 6px; background: #ef4444; border-radius: 50%;
    box-shadow: 0 0 8px #ef4444; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

/* FORM & INPUT DYNAMICS */
.wk-card {
    background: var(--wk-card-bg) !important;
    border: 1px solid rgba(0, 255, 137, 0.15) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5) !important;
    padding: 40px !important;
    border-radius: 12px !important;
}

.wk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.wk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 25px; }
.wk-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
.span-all-columns { grid-column: 1 / -1; }

@media (max-width: 992px) { .wk-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .wk-grid-4 { grid-template-columns: 1fr 1fr; } .wk-grid-2, .wk-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .wk-grid-4 { grid-template-columns: 1fr; } }

.wk-input-group { display: flex; flex-direction: column; }
.wk-label { color: #a8b2c1 !important; font-size: 11px !important; font-family: 'JetBrains Mono', monospace !important; margin-bottom: 6px !important; text-transform: uppercase; }

.wk-input {
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-family: 'JetBrains Mono', monospace !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    transition: all 0.3s ease;
}
.wk-input:focus { border-color: var(--wk-emerald) !important; box-shadow: 0 0 12px rgba(0, 255, 135, 0.25) !important; outline: none !important; }

/* DROPDOWN ARROW FORCE */
select.wk-input {
    appearance: none !important; -webkit-appearance: none !important; -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2300ff87' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important; background-position: right 12px center !important; padding-right: 35px !important;
    cursor: pointer;
}
select.wk-input option { background: #070a14 !important; color: #fff !important; }

.wk-btn-container { text-align: center !important; margin-top: 40px !important; padding-top: 25px !important; border-top: 1px solid rgba(0, 255, 135, 0.1) !important; }
.wk-btn {
    background: linear-gradient(135deg, var(--wk-emerald), var(--wk-neon-blue)) !important;
    color: #000 !important; font-weight: bold !important; letter-spacing: 2px !important; text-transform: uppercase !important;
    border: none !important; border-radius: 6px !important; padding: 16px 35px !important; font-family: 'JetBrains Mono', monospace !important;
    display: inline-block !important; width: 100% !important; max-width: 380px !important; cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.wk-btn:hover { transform: scale(1.02) !important; box-shadow: 0 0 25px rgba(0, 240, 255, 0.5) !important; }

.wk-section-title { color: var(--wk-gold) !important; font-size: 13px !important; margin: 35px 0 18px 0 !important; border-bottom: 1px solid rgba(255, 215, 0, 0.15) !important; padding-bottom: 8px !important; font-family: 'JetBrains Mono', monospace !important; text-transform: uppercase; }
.cyan-border { border-color: rgba(0, 240, 255, 0.2) !important; color: var(--wk-neon-blue) !important; }
.gold-border { border-color: rgba(255, 215, 0, 0.3) !important; color: var(--wk-gold) !important; }
.gold-text { color: var(--wk-gold) !important; }

.wk-notice-banner { background: rgba(0, 240, 255, 0.02) !important; border-left: 3px solid var(--wk-neon-blue) !important; padding: 12px 15px !important; margin: 15px 0 35px 0 !important; font-size: 11px !important; font-family: 'JetBrains Mono', monospace !important; color: #cdfeff !important; }
.wk-alert { padding: 15px !important; text-align: center !important; margin-bottom: 25px !important; font-family: 'JetBrains Mono', monospace !important; border-radius: 4px !important; }
.wk-alert-danger { background: rgba(239, 68, 68, 0.15) !important; border: 1px solid #ff4d4d !important; color: #ff4d4d !important; }
.wk-alert-success { background: rgba(0, 255, 135, 0.15) !important; border: 1px solid var(--wk-emerald) !important; color: var(--wk-emerald) !important; }

@keyframes floatingGlow { 
    0% { transform: translateY(0px); filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.2)); } 
    50% { transform: translateY(-5px); filter: drop-shadow(0 0 15px rgba(0, 255, 135, 0.4)); } 
    100% { transform: translateY(0px); filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.2)); } 
}