:root {
    --primary: #1a365d;
    --secondary: #2b6cb0;
    --success: #2f855a;
    --background: #f7fafc;
    --text: #2d3748;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    background-color: var(--background); 
    color: var(--text); 
    padding-bottom: 60px; 
}

header { 
    background-color: var(--primary); 
    color: white; 
    padding: 20px; 
    text-align: center; 
    font-weight: bold; 
    font-size: 1.2rem; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.app-container { 
    max-width: 500px; 
    margin: 20px auto; 
    padding: 0 15px; 
}

.app-page { 
    display: none; 
    background: white; 
    padding: 20px; 
    border-radius: 12px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
}

.app-page.active { 
    display: block; 
    animation: fadeIn 0.3s ease; 
}

h2 { 
    margin-bottom: 15px; 
    color: var(--primary); 
    font-size: 1.3rem; 
    border-bottom: 2px solid #edf2f7; 
    padding-bottom: 8px; 
}

.form-group { 
    margin-bottom: 15px; 
}

label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: 600; 
    font-size: 0.9rem; 
}

input, select, textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #cbd5e0; 
    border-radius: 8px; 
    font-size: 1rem; 
}

button { 
    width: 100%; 
    padding: 14px; 
    background-color: var(--primary); 
    color: white; 
    border: none; 
    border-radius: 8px; 
    font-size: 1rem; 
    font-weight: bold; 
    cursor: pointer; 
    margin-top: 10px; 
    transition: background 0.2s; 
}

button:hover { 
    background-color: var(--secondary); 
}

button.btn-secondary { 
    background-color: #e2e8f0; 
    color: var(--text); 
}

.card-menu { 
    background: #edf2f7; 
    padding: 20px; 
    border-radius: 8px; 
    text-align: center; 
    margin-bottom: 15px; 
    cursor: pointer; 
    border: 1px solid #e2e8f0; 
}

.card-menu h3 { 
    color: var(--primary); 
    margin-bottom: 5px; 
}

.resultado-item { 
    border: 1px solid #e2e8f0; 
    padding: 15px; 
    border-radius: 8px; 
    margin-top: 10px; 
    background-color: #f7fafc; 
}

.badge { 
    display: inline-block; 
    padding: 4px 8px; 
    background: #feebc8; 
    color: #c05621; 
    border-radius: 4px; 
    font-size: 0.8rem; 
    font-weight: bold; 
    margin-bottom: 5px; 
}

.timeline { 
    margin-top: 20px; 
    position: relative; 
    padding-left: 20px; 
    border-left: 2px solid #e2e8f0; 
}

.timeline-item { 
    position: relative; 
    margin-bottom: 20px; 
}

.timeline-item::before { 
    content: ''; 
    position: absolute; 
    left: -26px; 
    top: 4px; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background: #cbd5e0; 
    border: 2px solid white; 
}

.timeline-item.done::before { 
    background: var(--success); 
}

.timeline-item.active::before { 
    background: var(--secondary); 
    box-shadow: 0 0 0 4px rgba(43,108,176,0.3); 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}