/* quiz/css/style.css */
:root {
  --primary-blue: #005BBB;
  --secondary-blue: #003F8F;
  --primary-green: #39B54A;
  --cta-green: #22C55E;
  --bg-color: #F2F8FF;
  --text-dark: #10324d;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-dark); display: flex; flex-direction: column; min-height: 100vh; align-items: center; justify-content: center; padding: 20px; }
.quiz-logo { height: 70px; margin-bottom: 20px; }
.quiz-container { background: var(--white); width: 100%; max-width: 500px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 30px; text-align: center; position: relative; overflow: hidden; }
.progress-bar { width: 100%; height: 8px; background: #e0e0e0; border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-blue); width: 0%; transition: width 0.3s ease; }
.step { display: none; animation: fadeIn 0.4s ease; }
.step.active { display: block; }
h2 { color: var(--primary-blue); margin-bottom: 10px; font-size: 22px; }
p { margin-bottom: 20px; font-size: 16px; color: #555; }
input[type="text"] { width: 100%; padding: 15px; border: 2px solid #ddd; border-radius: 8px; font-size: 16px; margin-bottom: 20px; outline: none; }
input[type="text"]:focus { border-color: var(--primary-blue); }
.btn { display: block; width: 100%; padding: 15px; background: var(--cta-green); color: var(--white); border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; transition: transform 0.2s, background 0.2s; margin-bottom: 12px; }
.btn:hover { background: #1da34c; transform: translateY(-2px); }
.btn-option { background: var(--primary-blue); margin-bottom: 10px; font-weight: normal; }
.btn-option:hover { background: var(--secondary-blue); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.loading-screen { display: none; flex-direction: column; align-items: center; justify-content: center; height: 300px; }
.spinner { border: 4px solid rgba(0,91,187,0.2); width: 50px; height: 50px; border-radius: 50%; border-left-color: var(--primary-blue); animation: spin 1s linear infinite; margin-bottom: 20px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loading-text { font-size: 18px; font-weight: bold; color: var(--primary-blue); }
