:root {
    --primary-color: #0000e6;
    --secondary-color: #0000b3;
    --accent-color: #ff9800;
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.auth-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-btn {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.auth-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Dashboard */
.sidebar {
    height: 100vh;
    overflow-y: auto;
    background-color: var(--white);
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    z-index: 1000;
}

.sidebar nav {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.main-content {
    margin-left: 250px;
    padding: 2rem;
}

.nav-link {
    color: #666;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(0, 0, 230, 0.05);
    color: var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

.nav-link i {
    margin-right: 10px;
    width: 20px;
}

/* Cards */
.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Banner Styles */
.banner-container {
    position: relative;
    margin-bottom: 20px;
    z-index: 100;
}
.banner-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.banner-top:hover {
    transform: translateY(-2px);
}
.banner-top-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}
.banner-top img {
    max-height: 50px;
    border-radius: 8px;
}
.banner-top-text {
    flex: 1;
}
.banner-top-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.banner-top-message {
    font-size: 0.9rem;
    opacity: 0.9;
}
.banner-top-action {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}
.banner-top-action:hover {
    background: rgba(255,255,255,0.3);
}
.banner-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    padding: 0 8px;
}
.banner-close:hover {
    opacity: 1;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.carousel-slide {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}
.carousel-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}
.carousel-content {
    padding: 16px;
    text-align: center;
}
.carousel-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.carousel-message {
    color: #666;
    margin-bottom: 12px;
}
.carousel-action {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}
.carousel-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}
.carousel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    margin: 0 4px;
    cursor: pointer;
}
.carousel-dot.active {
    background: #007bff;
    width: 12px;
    height: 12px;
}
.grecaptcha-badge {
    visibility: visible !important;
    bottom: 60px !important;
}
/* Hide banner container by default */
#homeBannerContainer {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: 0.3s;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}