:root {
    --primary: #fbc02d; /* FF Yellow */
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --accent: #ff9800;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Auth Containers */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* Adjusted for header */
    padding: 20px;
}

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    border: 1px solid #333;
}

.card h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Forms */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #aaa;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #2b2b2b;
    color: white;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #fbc02d, #f57f17);
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: #444;
    color: white;
}

.btn-danger {
    background: #d32f2f;
    color: white;
}

.link-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Header & Nav */
header {
    background: #1f1f1f;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h2 {
    margin: 0;
    color: var(--primary);
    display: inline-block;
}

/* Glow Effects */
.glow-blue {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.7), 0 0 20px rgba(0, 229, 255, 0.5);
    font-weight: bold;
    margin-left: 15px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    animation: pulseBlue 2s infinite alternate;
}

@keyframes pulseBlue {
    from { text-shadow: 0 0 10px rgba(0, 229, 255, 0.7); }
    to { text-shadow: 0 0 20px rgba(0, 229, 255, 1); }
}

.watermark-container {
    display: inline-block;
}

/* Admin Panel */
.admin-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.admin-card h3 {
    margin-top: 0;
    color: #ccc;
    font-size: 1rem;
    text-transform: uppercase;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background: #252525;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 100; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8); 
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 20px;
    border: 1px solid var(--primary);
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
}

/* Dashboard specific */
.match-box {
    text-align: center;
    padding: 30px;
    background: #252525;
    border: 2px dashed var(--primary);
    border-radius: 10px;
    margin-top: 20px;
}

.status-indicator {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
}
.status-active { background: #2e7d32; color: white; }
.status-inactive { background: #c62828; color: white; }