/* Page des niveaux */
#levels-page {
    background: #EEFBFF;
}

.levels-header {
    background: #27B0A0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    padding: 5px 10px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.header-title img {
    width: 40px;
    height: 40px;
}

.levels-main {
    flex: 1;
    padding: 20px;
}

.levels-list {
    max-width: 800px;
    margin: 0 auto;
}

.level-item {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.level-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.level-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.level-badge {
    background: linear-gradient(135deg, #27B02C 0%, #C3E956 100%);
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
}

.level-info {
    flex: 1;
}

.level-questions {
    color: #27B02C;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.level-progress {
    color: #666;
    font-size: 14px;
}

.level-stars {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.star {
    font-size: 18px;
}

.star.filled {
    color: #FFD700;
}

.star.empty {
    color: #CCC;
}

.lock-icon {
    color: #27B02C;
    font-size: 20px;
}

/* État vide */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.empty-state p {
    color: #27B0A0;
    font-size: 18px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .level-item {
        flex-direction: column;
        text-align: center;
    }
    
    .level-badge {
        width: 100%;
    }
}
