/* Área 51 Wiki - Estilos Customizados */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --dark-bg: #1a1d29;
    --code-bg: #2d3748;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.wiki-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.wiki-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.wiki-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.wiki-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Estilos para o diagrama de arquitetura */
.architecture-diagram {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Estilos para métricas */
.progress-success-rate {
    width: 77.3%;
}

.wiki-sidebar {
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    height: 100%;
    padding: 1.5rem;
}

.wiki-sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.wiki-sidebar .nav-link:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

.wiki-sidebar .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.wiki-sidebar .nav-section-title {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-left: 0.5rem;
}

.wiki-sidebar hr {
    border-color: #dee2e6;
    opacity: 0.5;
}

.wiki-content {
    padding: 2rem;
    min-height: 600px;
}

.section-title {
    color: var(--dark-bg);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.badge-custom {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-card p {
    margin: 0;
    opacity: 0.9;
}

.feature-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    transform: translateY(-2px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    background: var(--code-bg);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

code {
    background: var(--code-bg);
    color: #f8f8f2;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875em;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
}

.alert-custom {
    border-left: 4px solid;
    border-radius: 8px;
}

.alert-custom.alert-success {
    border-left-color: var(--success-color);
    background: #d1e7dd;
}

.alert-update {
    border-left: 4px solid #ffc107;
}

.footer {
    background: var(--dark-bg);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.progress-thin {
    height: 5px;
}

.progress-thin .progress-bar {
    width: 77.3%;
}
