@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,700;1,400&display=swap');

body {
    font-family: 'Barlow', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    padding: 0;
    max-width: 800px;
    width: 100%;
    min-height: 80vh;
    position: relative;
}

h1 {
    font-family: 'Barlow', sans-serif;
    color: #333;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

h2 {
    font-family: 'Barlow', sans-serif;
    color: #333;
    font-weight: normal;
    margin: 0;
    font-size: 30px;
    font-weight: bold;
}

p {
    font-family: 'Barlow', sans-serif;
    margin: 0;
}

#nav-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.nav-btn {
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
    font-family: 'Barlow', sans-serif;
}

.nav-btn:hover {
    color: #000;
}

.diagnostico-screen {
    display: none;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.diagnostico-screen.active {
    display: flex;
}

/* Estilos para o formulário de identificação */
#form-identificacao {
    width: 100%;
    max-width: 500px;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
}

.question-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    font-size: 18px;
    gap: 10px;
}

.question-content p#question-text {
    font-weight: normal;
    font-style: italic;
    font-size: 16px;
}

.range-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 0;
    flex-direction: column;
    gap: 20px;
}

.range-options {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.range-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 60px;
    min-height: 80px;
    background-color: #f9f9f9;
}

.range-option:hover {
    background-color: #f0f0f0;
    border-color: #000;
}

.range-option.selected {
    background-color: #e3f2fd;
    border-color: #2196f3;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .range-option {
        width: 45px;
        min-height: 60px;
        padding: 5px;
    }
}

.range-option input[type="radio"] {
    display: none;
}

.range-option .label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    white-space: nowrap;
}

.range-option .value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.range-legend {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
}
.range-legend span {
    font-size: 12px;
}

.btn {
    padding: 12px 25px;
    font-size: 16px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    font-family: 'Barlow', sans-serif;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-group {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn:hover:not(:disabled) {
    background-color: #333;
}

#chart-container {
    position: relative;
    width: 900px;
    height: 600px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

#radarChart {
    max-width: 100%;
    max-height: 100%;
}