.emf-assessment { max-width: 780px; margin: 0 auto; font-family: Arial, Helvetica, sans-serif; } .emf-assessment h1 { text-align: center; color: #333; margin-bottom: 5px; } .emf-assessment .subtitle { text-align: center; color: #666; font-size: 1.05em; margin-bottom: 30px; } /* Step indicator */ .step-indicators { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; } .step-dot { width: 14px; height: 14px; border-radius: 50%; background: #ddd; transition: background 0.3s; } .step-dot.active { background: #e8a820; } .step-dot.completed { background: #4caf50; } /* Form sections */ .form-step { display: none; animation: fadeIn 0.4s ease; } .form-step.active { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } .section-title { font-size: 1.35em; color: #2c3e50; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 2px solid #e8a820; } .section-desc { color: #777; margin-bottom: 20px; font-size: 0.95em; } /* Lead capture fields */ .lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; } .lead-fields .full-width { grid-column: 1 / -1; } .field-group label { display: block; font-weight: bold; margin-bottom: 4px; color: #444; font-size: 0.95em; } .field-group input { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1em; box-sizing: border-box; transition: border-color 0.2s; } .field-group input:focus { border-color: #e8a820; outline: none; box-shadow: 0 0 0 2px rgba(232,168,32,0.15); } /* Checkbox grid */ .checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; } .checkbox-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #e0e0e0; border-radius: 6px; cursor: pointer; transition: all 0.2s; background: #fafafa; } .checkbox-item:hover { border-color: #e8a820; background: #fff8e8; } .checkbox-item.checked { border-color: #e8a820; background: #fff8e8; } .checkbox-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: #e8a820; cursor: pointer; flex-shrink: 0; } .checkbox-item .item-icon { font-size: 1.3em; flex-shrink: 0; } .checkbox-item .item-label { font-size: 0.95em; color: #333; } /* Radio / select questions */ .question-block { margin-bottom: 20px; } .question-block .q-label { font-weight: bold; color: #444; margin-bottom: 8px; font-size: 0.95em; } .radio-group { display: flex; flex-wrap: wrap; gap: 8px; } .radio-pill { position: relative; } .radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; } .radio-pill label { display: inline-block; padding: 8px 18px; border: 1px solid #ddd; border-radius: 20px; cursor: pointer; font-size: 0.9em; color: #555; transition: all 0.2s; background: #fafafa; } .radio-pill input:checked + label { background: #e8a820; color: #fff; border-color: #e8a820; } .radio-pill label:hover { border-color: #e8a820; } /* Navigation buttons */ .btn-row { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 16px; border-top: 1px solid #eee; } .btn-prev, .btn-next, .btn-submit { padding: 12px 32px; border: none; border-radius: 6px; font-size: 1em; font-weight: bold; cursor: pointer; transition: all 0.2s; } .btn-prev { background: #eee; color: #555; } .btn-prev:hover { background: #ddd; } .btn-next, .btn-submit { background: #e8a820; color: #fff; } .btn-next:hover, .btn-submit:hover { background: #d4961a; } .btn-next:disabled, .btn-submit:disabled { background: #ccc; cursor: not-allowed; } .btn-spacer { visibility: hidden; } /* reCAPTCHA */ .recaptcha-wrap { margin-top: 16px; margin-bottom: 8px; } .recaptcha-error { color: #e74c3c; font-size: 0.85em; margin-top: 6px; display: none; } /* Loading / progress screen */ .loading-screen { display: none; text-align: center; padding: 50px 20px; } .loading-screen.active { display: block; } .bolt-container { position: relative; width: 80px; height: 80px; margin: 0 auto 24px; } .bolt-icon { font-size: 50px; color: #e8a820; animation: boltPulse 1s ease-in-out infinite; } @keyframes boltPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.15); } } .bolt-ring { position: absolute; top: -5px; left: -5px; width: 90px; height: 90px; border: 3px solid transparent; border-top-color: #e8a820; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .loading-screen h2 { color: #2c3e50; margin-bottom: 8px; } .loading-screen p { color: #777; margin-bottom: 24px; } .progress-bar-container { max-width: 400px; margin: 0 auto; background: #eee; border-radius: 10px; overflow: hidden; height: 18px; position: relative; } .progress-bar-fill { height: 100%; width: 0%; border-radius: 10px; background: linear-gradient(90deg, #e8a820, #f0c040, #e8a820); background-size: 200% 100%; animation: shimmer 1.5s linear infinite; transition: width 0.3s ease; } @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } .progress-percent { margin-top: 8px; color: #888; font-size: 0.9em; } /* Results screen */ .results-screen { display: none; text-align: center; padding: 30px 0; } .results-screen.active { display: block; animation: fadeIn 0.5s ease; } .grade-circle { width: 140px; height: 140px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 64px; font-weight: bold; color: #fff; box-shadow: 0 6px 25px rgba(0,0,0,0.15); } .grade-A { background: linear-gradient(135deg, #27ae60, #2ecc71); } .grade-B { background: linear-gradient(135deg, #2980b9, #3498db); } .grade-C { background: linear-gradient(135deg, #e8a820, #f0c040); } .grade-D { background: linear-gradient(135deg, #e67e22, #f39c12); } .grade-F { background: linear-gradient(135deg, #c0392b, #e74c3c); } .grade-label { font-size: 1.3em; font-weight: bold; color: #2c3e50; margin-bottom: 6px; } .grade-subtitle { color: #777; margin-bottom: 28px; font-size: 1em; } .results-breakdown { text-align: left; max-width: 560px; margin: 0 auto; } .result-category { margin-bottom: 18px; } .result-category .cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; } .result-category .cat-name { font-weight: bold; color: #444; font-size: 0.95em; } .result-category .cat-score { font-weight: bold; font-size: 0.9em; } .cat-bar { height: 10px; background: #eee; border-radius: 5px; overflow: hidden; } .cat-bar-fill { height: 100%; border-radius: 5px; transition: width 0.8s ease; } .severity-low { background: #27ae60; } .severity-med { background: #e8a820; } .severity-high { background: #e67e22; } .severity-critical { background: #e74c3c; } .results-tips { text-align: left; max-width: 560px; margin: 24px auto 0; padding: 20px; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #e8a820; } .results-tips h3 { margin-bottom: 10px; color: #2c3e50; } .results-tips ul { margin: 0; padding-left: 20px; color: #555; } .results-tips ul li { margin-bottom: 6px; line-height: 1.5; } .cta-box { margin-top: 30px; padding: 24px; background: linear-gradient(135deg, #2c3e50, #34495e); border-radius: 10px; color: #fff; max-width: 560px; margin-left: auto; margin-right: auto; } .cta-box h3 { margin-bottom: 8px; color: #e8a820; } .cta-box p { margin-bottom: 16px; color: #ccc; font-size: 0.95em; } .cta-btn { display: inline-block; padding: 12px 30px; background: #e8a820; color: #fff; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 1em; transition: background 0.2s; } .cta-btn:hover { background: #d4961a; color: #fff; } /* Validation errors */ .field-error { border-color: #e74c3c !important; } .error-msg { color: #e74c3c; font-size: 0.85em; margin-top: 3px; } /* Mobile responsive */ @media (max-width: 640px) { .checkbox-grid { grid-template-columns: 1fr; } .lead-fields { grid-template-columns: 1fr; } .radio-group { flex-direction: column; } .grade-circle { width: 110px; height: 110px; font-size: 50px; } }