:root {
    --kfc-red: #E4002B;
    --kfc-red-glow: rgba(228, 0, 43, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --bg-dark: #0f0f0f;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 10% 20%, rgba(228, 0, 43, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(228, 0, 43, 0.05) 0%, transparent 40%);
    min-height: 100vh;
}

h1, h2, h3, .logo-red {
    font-family: 'Outfit', sans-serif;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Tabs */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo-red { color: var(--kfc-red); }

.tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--text-main);
    background: var(--kfc-red);
    box-shadow: 0 4px 15px var(--kfc-red-glow);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards & Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
}

.quota-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    height: 12px;
    border-radius: 6px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-bar {
    background: var(--kfc-red);
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--kfc-red);
}

.request-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

select, input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-family: inherit;
    outline: none;
}

select option { background: #1a1a1a; }

.btn-primary {
    background: var(--kfc-red);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--kfc-red-glow);
}

/* Lists & Items */
.list-container {
    max-height: 400px;
    overflow-y: auto;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.request-item:hover {
    border-color: var(--glass-border);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.status-approved { background: rgba(40, 167, 69, 0.2); color: #28a745; }
.status-rejected { background: rgba(220, 53, 69, 0.2); color: #dc3545; }

.action-btns {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.btn-approve { background: #28a745; color: white; }
.btn-reject { background: #dc3545; color: white; }

.empty-msg {
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

/* Calendar View Placeholder */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.calendar-day {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.day-number { font-weight: 600; font-size: 14px; }
.day-count { font-size: 11px; color: var(--kfc-red); }

@media (max-width: 768px) {
    .request-grid { grid-template-columns: 1fr; }
    .glass-header { flex-direction: column; gap: 15px; }
}
