:root {
    --pk-primary: #0f172a;
    /* Midnight Blue */
    --pk-accent: #f59e0b;
    /* Electric Gold */
    --pk-bg: #020617;
    /* Urban Dark */
    --pk-card: #1e293b;
    /* Slate */
    --pk-text-muted: #94a3b8;
    --pk-success: #10b981;
    --pk-danger: #ef4444;
    --pk-font: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--pk-bg);
    color: #ffffff;
    font-family: var(--pk-font);
}

.pk-card {
    background-color: var(--pk-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.pk-card:hover {
    border-color: var(--pk-accent);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1);
}

.btn-pk-primary {
    background-color: var(--pk-accent);
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 24px;
    border: none;
    transition: all 0.3s ease;
}

.btn-pk-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.pk-badge-available {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--pk-success);
    border: 1px solid var(--pk-success);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.pk-badge-occupied {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--pk-danger);
    border: 1px solid var(--pk-danger);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Glassmorphism Sidebar */
.app-sidebar {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand .brand-text {
    color: var(--pk-accent) !important;
    letter-spacing: 2px;
}

.nav-link.active {
    background-color: var(--pk-accent) !important;
    color: #000 !important;
    border-radius: 12px !important;
    font-weight: 700;
}

.nav-link {
    color: var(--pk-text-muted) !important;
    padding: 12px 20px !important;
}

.nav-link:hover {
    color: #fff !important;
}

/* Grid Styles for parking slots */
.slot-item {
    aspect-ratio: 1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-item.available {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--pk-success);
    color: var(--pk-success);
}

.slot-item.occupied {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--pk-danger);
    color: var(--pk-danger);
    cursor: not-allowed;
}

.slot-item.selected {
    background: var(--pk-accent);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* Animations */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.pk-pulse {
    animation: pulse-gold 2s infinite;
}

/* Admin Enhancements */
.admin-table {
    background: var(--pk-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table th {
    color: var(--pk-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 15px 20px;
}

.admin-table td {
    padding: 15px 20px;
    vertical-align: middle;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-content {
    background-color: var(--pk-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-control-pk {
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 12px;
}

.form-control-pk:focus {
    background: rgba(2, 6, 23, 0.8);
    border-color: var(--pk-accent);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.1);
}

.stats-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}