:root {
    --sidebar-width: 260px;
    --topbar-height: 60px;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --primary-accent: #0d6efd;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;
    --orange: #fd7e14;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
}

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.topbar {
    height: var(--topbar-height);
    position: sticky;
    top: 0;
    z-index: 999;
}

.metric-card {
    transition: transform 0.2s;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.phase-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-bottom: 4px solid #dee2e6;
    color: #6c757d;
    font-size: 0.8rem;
}

.phase-step.completed {
    border-bottom-color: var(--success);
    color: var(--success);
}

.phase-step.current {
    border-bottom-color: var(--primary-accent);
    color: var(--primary-accent);
    font-weight: bold;
}

.phase-step.pending {
    border-bottom-color: #dee2e6;
}

.resaltado-busqueda {
    background-color: yellow;
    font-weight: bold;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
    }
}
