/* Styles spécifiques à la page Wiki */
body {
    background-color: #f5f7fa;
    color: #333;
}

.wiki-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.wiki-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.wiki-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.wiki-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #F9C846;
    border-radius: 2px;
}

.wiki-subtitle {
    font-size: 18px;
    color: white;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Sidebar et navigation */
.wiki-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.wiki-sidebar {
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #F9C846;
    border-radius: 2px;
}

.sidebar-nav {
    margin-top: 20px;
}

.sidebar-nav-item {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.sidebar-nav-link:hover, 
.sidebar-nav-link.active {
    background-color: rgba(249, 200, 70, 0.15);
    color: #333;
}

.sidebar-nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #F9C846;
}

/* Contenu principal */
.wiki-main {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.wiki-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.wiki-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
}

.section-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background-color: #F9C846;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(249, 200, 70, 0.3);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.wiki-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.wiki-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.wiki-content li {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.wiki-content li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: #F9C846;
    font-weight: 700;
}

/* Cards et tableaux */
.info-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #F9C846;
}

.info-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-card-title i {
    margin-right: 10px;
    color: #F9C846;
}

.command-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.command-table th,
.command-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.command-table th {
    background-color: #f5f7fa;
    font-weight: 700;
    color: #333;
}

.command-table tr:hover {
    background-color: rgba(249, 200, 70, 0.05);
}

.command-name {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #0047AB;
}

/* Badges et étiquettes */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 5px;
}

.badge-red {
    background-color: #ff5757;
    color: white;
}

.badge-blue {
    background-color: #5e7ce2;
    color: white;
}

.badge-green {
    background-color: #42b883;
    color: white;
}

.badge-yellow {
    background-color: #F9C846;
    color: #333;
}

/* Responsive */
@media (max-width: 992px) {
    .wiki-content {
        flex-direction: column;
    }
    
    .wiki-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .wiki-title {
        font-size: 32px;
    }
    
    .wiki-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
} 