Spaces:
Sleeping
Sleeping
| /* questionnaire.css */ | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| background-color: #203667; | |
| /* Navy Blue */ | |
| font-family: 'Cairo', sans-serif; | |
| color: #FFFFFF; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| overflow: hidden; | |
| } | |
| .q-container { | |
| width: 100%; | |
| max-width: 500px; | |
| padding: 20px; | |
| text-align: center; | |
| position: relative; | |
| display: flex; | |
| flex-direction: column; | |
| height: 90vh; | |
| /* Occupy most of screen */ | |
| justify-content: space-between; | |
| } | |
| /* Skip Button */ | |
| .skip-btn { | |
| position: absolute; | |
| top: 10px; | |
| right: 20px; | |
| background: transparent; | |
| border: none; | |
| color: #FFFFFF; | |
| font-size: 16px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| font-family: 'Cairo', sans-serif; | |
| opacity: 0.9; | |
| } | |
| /* Progress Bar */ | |
| .progress-container { | |
| margin-top: 40px; | |
| margin-bottom: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .progress-bar { | |
| width: 200px; | |
| height: 12px; | |
| background: rgba(0, 0, 0, 0.3); | |
| border-radius: 10px; | |
| overflow: hidden; | |
| margin-bottom: 15px; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background: #FDC554; | |
| width: 20%; | |
| transition: width 0.3s ease; | |
| border-radius: 10px; | |
| } | |
| .step-indicator { | |
| font-size: 14px; | |
| opacity: 0.9; | |
| letter-spacing: 1px; | |
| } | |
| /* Steps */ | |
| .step { | |
| display: none; | |
| flex-direction: column; | |
| align-items: center; | |
| animation: fadeIn 0.4s ease; | |
| flex-grow: 1; | |
| justify-content: center; | |
| } | |
| .step.active { | |
| display: flex; | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .step h1 { | |
| font-size: 26px; | |
| font-weight: 700; | |
| margin-bottom: 40px; | |
| line-height: 1.4; | |
| text-align: center; | |
| } | |
| .options-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| width: 100%; | |
| } | |
| .option-btn { | |
| background: rgba(255, 255, 255, 0.08); | |
| /* slightly transparent */ | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 10px; | |
| /* Slight rounding, not fully pill shaped per image? Actually images show slightly clearer rounding, maybe 8px */ | |
| padding: 18px; | |
| font-size: 18px; | |
| font-family: 'Cairo', sans-serif; | |
| font-weight: 600; | |
| color: #FFFFFF; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| text-align: center; | |
| } | |
| .option-btn:hover { | |
| background: rgba(255, 255, 255, 0.15); | |
| } | |
| .option-btn.selected { | |
| background: rgba(253, 197, 84, 0.2); | |
| border-color: #FDC554; | |
| color: #FDC554; | |
| } | |
| /* Nav Buttons */ | |
| .nav-buttons { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-top: 20px; | |
| padding: 0 20px; | |
| } | |
| .nav-btn { | |
| padding: 10px 30px; | |
| border-radius: 8px; | |
| font-size: 18px; | |
| font-family: 'Cairo', sans-serif; | |
| font-weight: 700; | |
| cursor: pointer; | |
| min-width: 120px; | |
| transition: transform 0.1s; | |
| } | |
| .back-btn { | |
| background: transparent; | |
| border: 2px solid #FDC554; | |
| color: #FFFFFF; | |
| } | |
| .continue-btn { | |
| background: #FDC554; | |
| border: none; | |
| color: #203667; | |
| font-weight: 700; | |
| } | |
| .nav-btn:active { | |
| transform: scale(0.98); | |
| } |