body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.question-container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

.progress-bar {
    height: 4px;
    background-color: #eee;
    margin-bottom: 30px;
    border-radius: 2px;
}

.progress {
    height: 100%;
    background-color: #ffc000;
    border-radius: 2px;
    transition: width 0.3s ease;
}

h1 {
    color: #ffc000;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.question {
    margin-bottom: 30px;
}

.question h2 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.options {
    display: grid;
    gap: 15px;
}

.option-btn {
    background-color: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1em;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-btn:hover {
    border-color: #ffc000;
    background-color: #fff9e6;
    transform: translateY(-2px);
}

.option-btn.selected {
    background-color: #ffc000;
    border-color: #ffc000;
    color: #fff;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-btn {
    background-color: #ffc000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #e6ac00;
    transform: translateY(-2px);
}

.nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Estilos do formulário */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input {
    width: calc(100% - 24px); /* Ajuste para considerar o padding */
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    display: block;
}

.form-group input:focus {
    border-color: #ffc000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 192, 0, 0.2);
}

.form-group input::placeholder {
    color: #aaa;
}

/* Estilo específico para o campo de telefone */
.form-group input[type="tel"] {
    letter-spacing: 1px;
}

/* Container do formulário - remover hover e transição */
#form-container {
    max-width: 500px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 20px auto;
}

#form-container h2 {
    color: #ffc000;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

/* Ajuste do botão do formulário */
#form-container .nav-btn {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 1.1em;
}

/* Estilos da página de resultados */
.results-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 15px;
}

.results-header p {
    color: #666;
    font-size: 1.1em;
}

.resultado-item {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}



.resultado-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.posicao {
    background: #ffc000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.compatibility {
    margin-top: 15px;
}

.compatibility .progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin: 10px 0;
    overflow: hidden;
}

.compatibility .progress {
    background: #ffc000;
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}

.percentage {
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

.resultado-body {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.descricao {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.curso-btn {
    display: inline-block;
    background: #ffc000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.curso-btn:hover {
    background: #e6ac00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 192, 0, 0.3);
}

/* ...existing code... */

.help-text {
    display: block;
    color: #666;
    font-size: 0.8em;
    margin-top: 5px;
    font-style: italic;
}

/* ...rest of existing code... */

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255); /* Aumentado a opacidade */
    z-index: 9999; /* Aumentado o z-index */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ffc000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: #333;
    font-size: 1.1em;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ...existing code... */

.actions-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
    flex-wrap: wrap; /* Para dispositivos móveis */
}

.action-btn {
    min-width: 200px;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.action-btn.primary {
    background: #ffc000;
    color: #fff;
    border: 2px solid #ffc000;
}

.action-btn.secondary {
    background: #fff;
    color: #ffc000;
    border: 2px solid #ffc000;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 192, 0, 0.2);
}

.action-btn.primary:hover {
    background: #e6ac00;
    border-color: #e6ac00;
}

.action-btn.secondary:hover {
    background: #fff9e6;
}

/* Adicionar ícones aos botões usando pseudo-elementos */
.action-btn.primary::after {
    content: "↺";
    margin-left: 8px;
    font-size: 1.2em;
}

.action-btn.secondary::before {
    content: "→";
    margin-right: 8px;
    font-size: 1.2em;
}

/* Media query para dispositivos móveis */
@media (max-width: 600px) {
    .actions-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .action-btn {
        width: 100%;
    }
}

/* ...rest of existing code... */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    border-left: 4px solid #ff4444;
}

.notification.success {
    border-left: 4px solid #00C851;
}

.notification.warning {
    border-left: 4px solid #ffc000;
}

.notification-message {
    color: #333;
    font-size: 0.95em;
    line-height: 1.4;
}

.notification-icon {
    font-size: 1.2em;
}

.notification.error .notification-icon {
    color: #ff4444;
}

.notification.success .notification-icon {
    color: #00C851;
}

.notification.warning .notification-icon {
    color: #ffc000;
}

@media (max-width: 600px) {
    .notification {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        transform: translateY(120%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* ...rest of existing code... */