:root {
    --primary-color: #ffcc00;
    --dark-color: #1a252f;
    --light-color: #f8f9fa;
    --text-color: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.main-header {
    background-color: var(--dark-color);
    color: white;
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
}

.logo span {
    color: var(--primary-color);
}

.badge {
    background-color: rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.hero-section {
    text-align: center;
    margin: 20px 0;
}

.hero-section h1 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.hero-section p {
    color: #666;
    font-size: 1rem;
}

.quiz-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-height: 340px; 
    position: relative;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-step h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-btn, .submit-btn {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.quiz-btn:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 204, 0, 0.05);
}

.submit-btn {
    background: var(--dark-color);
    color: white;
    text-align: center;
    border: none;
    margin-top: 15px;
}

.submit-btn:hover {
    background: #2c3e50;
}

.form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.legal-checkboxes {
    font-size: 0.85rem;
    color: #555;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
}

.back-link {
    background: none;
    border: none;
    color: #888;
    margin-top: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.success-message {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #27ae60;
}

.success-message p {
    color: #333;
    font-size: 1rem;
    font-weight: normal;
    margin-top: 15px;
    line-height: 1.5;
}

.main-footer {
    background: #eee;
    color: #666;
    padding: 20px 0;
    font-size: 0.8rem;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #444;
    text-decoration: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 20px;
    display: none;
    z-index: 1000;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 8px 18px;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 0.85rem;
}

.cookie-btn.accept {
    background: var(--dark-color);
    color: white;
    border: none;
}