:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #333;
    background-color: #fff;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #003d99 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 50px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 150px;
    object-fit: cover;
}

@media (max-width: 480px) {
    .card-img-top {
        height: 150px;
    }
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-location {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.price-tag {
    font-weight: 700;
    font-size: 1.25rem;
    color: #333;
}

.btn-rounded {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.footer {
    background-color: var(--dark-bg);
    color: #adb5bd;
    padding: 50px 0;
    margin-top: 80px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Administrative Area Specifics */
.admin-sidebar {
    background-color: var(--dark-bg);
    min-height: 100vh;
    color: #fff;
}

.admin-nav .nav-link {
    color: #ced4da;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
}

.admin-nav .nav-link.active {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 767.98px) {
    .admin-sidebar {
        top: 48px; /* Height of mobile navbar */
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 48px);
        z-index: 1030;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        background-color: var(--dark-bg);
    }
    
    .admin-nav .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    visibility: hidden;
    opacity: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.loading-overlay.show {
    visibility: visible;
    opacity: 1;
}

.loading-content {
    text-align: center;
    background: white;
    padding: 40px 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    max-width: 90%;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ls-1 { letter-spacing: 1px; }
.btn-rounded { border-radius: 50px; }