:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border-radius: 15px;
    border: none;
    margin-bottom: 20px;
}

/* Sidebar Layout */
#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #1a1d20;
    color: #fff;
    transition: all 0.3s;
    min-height: 100vh;
    z-index: 999;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #111417;
    border-bottom: 1px solid #2c3136;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 12px 20px;
    font-size: 1.1em;
    display: block;
    color: #adb5bd;
    text-decoration: none;
    transition: 0.3s;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #2c3136;
}

#sidebar ul li.active > a {
    color: #fff;
    background: #0d6efd;
}

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

.navbar-sidebar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        padding: 10px;
    }
}

/* Podium Styles */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 40px 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.podium-step {
    text-align: center;
    margin: 0 10px;
    position: relative;
}

@media (max-width: 576px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
        padding-top: 60px;
    }
    .podium-rank {
        width: 200px !important;
        height: auto !important;
        padding: 20px 10px !important;
        border-radius: 10px !important;
        border: 2px solid #dee2e6 !important;
    }
}

.podium-rank {
    width: 120px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 10px;
}

.rank-1 { height: 180px; background: linear-gradient(to top, #ffd700, #fff9db); border-color: #ffd700; }
.rank-2 { height: 140px; background: linear-gradient(to top, #c0c0c0, #f1f3f5); border-color: #c0c0c0; }
.rank-3 { height: 100px; background: linear-gradient(to top, #cd7f32, #fff4e6); border-color: #cd7f32; }

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #eee;
    object-fit: cover;
}

.podium-medal {
    font-size: 2rem;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.jumbotron {
    padding: 4rem 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

/* Checklist Styles */
.checklist-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item input[type="checkbox"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

/* Score Badge */
.score-badge {
    font-size: 2rem;
    font-weight: bold;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }
}
