        /* --- ESTILOS GERAIS (Igual ao anterior com melhorias) --- */
        :root {
            --primary-color: #2b9eb3;
            --primary-gradient: linear-gradient(90deg, #4ad4c8 0%, #2b9eb3 100%);
            --text-dark: #333333;
            --text-light: #666666;
            --bg-light: #f4f6f9;
            --white: #ffffff;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        /* body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: linear-gradient(135deg, #eef2f3 0%, #d9e4ea 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
        } */

        .quiz-card {
            background: var(--white);
            width: 100%;
            max-width: 460px;
            border-radius: 20px;
            padding: 30px 25px;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            margin: 0 auto;
            /* Para animações */
        }

        /* Títulos */
        .header-title {
            text-align: center;
            color: #2c3e50;
            font-size: 24px;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .header-title span {
            display: block;
            font-weight: 600;
            font-size: 20px;
            color: #4a5568;

        }

        .quizHeader-title {
            margin-top: 1em;
            color: #4a5568;
        }

        .quizHeader-title p {
            margin: 0;
        }

        /* Barra de Progresso */
        .progress-section {
            margin: 25px 0;
        }

        .step-text {
            font-size: 14px;
            color: var(--text-dark);
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
        }

        .progress-bar {
            height: 8px;
            background-color: #eef2f5;
            border-radius: 10px;
            overflow: hidden;
        }

        .progress-fill {
            width: 16%;
            height: 100%;
            background: var(--primary-gradient);
            border-radius: 10px;
            transition: width 0.5s ease;
        }



        .interactive-progress-container {
            position: relative;
            cursor: pointer;
        }

        .progress-container {
            width: 100%;
            background-color: #475569;
            height: 10px;
            border-radius: 9999px;
            overflow: visible;
            position: relative;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .progress-container:hover {
            background-color: #334155;
        }

        .progress-bar-weight {
            height: 100%;
            width: 0%;
            background: linear-gradient(to right, #4ade80, #3b82f6);
            border-radius: 9999px;
            transition: width 0.2s ease;
            position: relative;
            cursor: pointer;
        }

        .progress-bar-weight::before {
            content: '';
            position: absolute;
            display: inline-block;
            background-color: rgb(255, 255, 255);
            border: solid 3px #3b82f6;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            z-index: 2;
            right: -12px;
            top: 50%;
            transform: translateY(-50%);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            transition: all 0.2s ease;
            cursor: grab;
        }

        .progress-bar-weight::after {
            content: '';
            position: absolute;
            display: inline-block;
            background-color: #3b82f6;
            border-radius: 50%;
            width: 8px;
            height: 8px;
            z-index: 3;
            right: -4px;
            top: 50%;
            transform: translateY(-50%);
        }

        .progress-container:active .progress-bar-weight::before,
        .progress-bar-weight:active::before {
            cursor: grabbing;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
        }




        /* Steps (Esconder todos por padrão, mostrar apenas o ativo) */
        .step {
            display: none;
            animation: fadeIn 0.5s;
        }

        .step.active {
            display: block;
        }

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

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Inputs e Elementos de Formulário */
        label {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
            display: block;
        }

        .vitals-row {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .input-group {
            flex: 1;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper input,
        select {
            width: 100%;
            padding: 12px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            box-sizing: border-box;
            outline: none;
        }

        .input-wrapper input {
            padding-left: 35px;
        }

        .input-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
            width: 16px;
            height: 16px;
        }

        /* Opções de Seleção (Cards clicáveis) */
        .option-card {
            border: 1px solid #e0e0e0;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
            color: var(--text-dark);
            text-align: left;
        }

        .checkbox-item input {
            display: none !important
        }

        .option-card:hover {
            border-color: var(--primary-color);
            background: #f0fbff;
        }

        .option-card.selected {
            border-color: var(--primary-color);
            background: #dbeff3;
            font-weight: 600;
        }

        .radio-circle {
            width: 18px;
            height: 18px;
            border: 2px solid #ccc;
            border-radius: 50%;
            position: relative;
        }

        .option-card.selected .radio-circle {
            border-color: var(--primary-color);
            background: var(--primary-color);
        }

        /* Tags e Checkboxes */
        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }

        .tag {
            padding: 8px 16px;
            background: #eef2f5;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            border: 1px solid transparent;
        }

        .tag.active {
            background: #dbeff3;
            border-color: #b0dce6;
            color: #1a7a8a;
            font-weight: 600;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            cursor: pointer;
            font-size: 14px;
            text-align: left;
        }

        .custom-checkbox {
            width: 18px;
            height: 18px;
            border: 2px solid #dbdbdb;
            border-radius: 24px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .checkbox-item input:checked+.custom-checkbox {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .checkbox-item input:checked+.custom-checkbox::after {
            content: '✓';
            color: white;
            font-size: 12px;
        }

        /* Botão */
        .btn-continue {
            width: 100%;
            padding: 16px;
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s;
        }

        .btn-continue:hover {
            transform: translateY(-2px);
        }

        /* Tela de Loading Final */
        .calculating-screen {
            text-align: center;
            padding: 40px 0;
            display: none;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

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

            100% {
                transform: rotate(360deg);
            }
        }


        #loadingText {
            margin-top: 1em;
            color: #1a7a8a;
            font-weight: 900;
        }



        .quiz-result-headline {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            color: #fff;
            font-weight: 900 !important;
        }

        /* Goal Weight Input and Slider Styles */
        .goal-weight-input-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .goal-weight-input {
            width: 150px;
            padding: 12px 16px;
            border: 2px solid #2b9eb3;
            border-radius: 8px;
            font-size: 24px;
            font-weight: 900;
            color: #2b9eb3;
            text-align: center;
            outline: none;
            transition: all 0.3s ease;
        }

        .goal-weight-input:focus {
            border-color: #1a7a8a;
            box-shadow: 0 0 0 3px rgba(43, 158, 179, 0.1);
        }

        .goal-weight-unit {
            font-size: 20px;
            font-weight: 600;
            color: #2b9eb3;
        }

        .slider-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 8px;
            font-size: 12px;
            color: #666;
        }