@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #005a9e;
    --secondary-color: #f4f4f4;
    --text-color: #333;
    --border-color: #ddd;
    --correct-color: #28a745;
    --incorrect-color: #dc3545;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
}

.progress-bar {
    background-color: rgba(255,255,255,0.3);
    border-radius: 5px;
    height: 10px;
    margin: 15px 0 5px;
}

.progress {
    background-color: white;
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    font-size: 0.9em;
    margin: 0;
}

main {
    padding: 20px;
}

.question-card,.completion-card {
    display: flex;
    flex-direction: column;
}

.question-text {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

#quiz-form.option {
    display: block;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#quiz-form.option:hover {
    background-color: #e9e9e9;
}

#quiz-form.option input[type="radio"] {
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #004a83;
}

.bug-report {
    margin-top: 20px;
    text-align: center;
}

#bug-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9em;
}

#bug-btn:hover {
    color: var(--text-color);
}

.completion-card {
    text-align: center;
}

.completion-card h2 {
    color: var(--primary-color);
}