:root {
    --primary: #f43f5e; /* Sports Red/Pink */
    --dark: #0f172a;    /* Deep Blue/Black */
    --card: #1e293b;    /* Lighter Blue */
    --text: #f8fafc;
    --success: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    margin: 0;
    overflow-x: hidden;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.animate-entry { animation: fadeIn 0.6s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

/* --- UI COMPONENTS --- */
.layout { display: flex; height: 100vh; }
.sidebar { width: 260px; background: rgba(30, 41, 59, 0.95); backdrop-filter: blur(10px); padding: 20px; border-right: 1px solid #334155; display: flex; flex-direction: column; }
.main { flex: 1; padding: 40px; overflow-y: auto; position: relative; }

/* Glassmorphism Cards */
.card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); border-color: var(--primary); }

/* Inputs & Forms */
input, select, textarea {
    width: 100%;
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-top: 5px;
    transition: 0.3s;
    box-sizing: border-box;
}
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 10px rgba(244, 63, 94, 0.3); }

/* Buttons */
.btn {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(244, 63, 94, 0.6); }
.btn.green { background: linear-gradient(135deg, #10b981, #059669); }

/* Navigation */
.nav-item { padding: 15px; cursor: pointer; border-radius: 8px; margin-bottom: 5px; color: #94a3b8; transition: 0.3s; }
.nav-item:hover, .nav-item.active { background: var(--primary); color: white; padding-left: 20px; }

/* Utility */
.hidden { display: none !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; }
.badge-pending { background: #f59e0b; color: black; }
.badge-approved { background: #10b981; color: white; }

/* ADD TO style.css */

/* Fix Date/Time icons for Dark Mode */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Turns black icons to white */
    cursor: pointer;
}

/* Ensure font is readable */
input[type="date"], input[type="time"] {
    font-family: 'Inter', sans-serif;
    color-scheme: dark; /* Tells browser to render dark dropdowns */
}