/* Estilos globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.author {
    font-size: 0.9rem;
    color: #95a5a6;
}

h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 15px;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

/* Estilos para as telas */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Tela de boas-vindas */
.info-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #3498db;
}

/* Botões */
button {
    cursor: pointer;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #34495e;
}

.btn-secondary:hover {
    background-color: #dfe6e9;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Barra de progresso */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #3498db, #2ecc71);
    width: 4%; /* 1/25 */
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Container de questões */
.question-container {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#question-title {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

#question-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Opções de resposta */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option:hover {
    background-color: #f1f9ff;
    border-color: #3498db;
}

.option input {
    margin-right: 15px;
}

/* Botões de navegação */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
}

/* Tela de resultados */
.results-summary, .results-categories, .career-recommendations {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#holland-code {
    font-weight: bold;
    color: #3498db;
}

#results-chart {
    margin-top: 15px;
}

.result-bar {
    margin-bottom: 15px;
}

.result-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.result-bar-fill {
    height: 20px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 4px;
    transition: width 1s ease;
}

.career-item {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid #3498db;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.action-buttons button {
    flex: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin-top: 15px;
        margin-bottom: 15px;
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .action-buttons {
        flex-direction: column;
    }
}