.competition-container {
    display: flex;
    max-width: 1400px;
    margin: 20px auto;
    gap: 30px;
}

.competition-content {
    flex-grow: 1;
}

.competition-sidebar {
    width: 280px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-shrink: 0;
    height: fit-content;
}

.competition-sidebar h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f39c12;
    font-size: 1.2rem;
}

.competition-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.competition-sidebar li {
    margin-bottom: 10px;
}

.competition-sidebar a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.competition-sidebar a:hover {
    background: #fcf6e9;
    color: #f39c12;
    border-left-color: #f39c12;
    padding-left: 20px;
}

.competition-sidebar a.active {
    background: #fcf6e9;
    color: #f39c12;
    border-left-color: #f39c12;
}

.competition-sidebar i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

@media (max-width: 992px) {
    .competition-container {
        flex-direction: column;
        margin-top: 20px;
    }

    .competition-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 1001;
        transition: left 0.3s ease;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .competition-sidebar.active {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .mobile-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 30px;
        right: 20px;
        z-index: 1002;
        background: #f39c12;
        color: white;
        border: none;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 993px) {

    .mobile-toggle-btn,
    .sidebar-overlay {
        display: none !important;
    }
}
