* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0f2fe 0%, #ddd6fe 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
}

h1 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.instructions {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.instructions h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.instructions ul {
    list-style: none;
    color: #1e40af;
}

.instructions li {
    margin-bottom: 5px;
    font-size: 14px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.question-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.question-number {
    color: #6b7280;
    font-weight: 500;
}

.participant-name {
    color: #3b82f6;
    font-weight: 500;
}

.question-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.option {
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.option:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.option.selected {
    border-color: #3b82f6;
    background: #dbeafe;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.option-label {
    font-weight: 600;
    color: #3b82f6;
    margin-right: 10px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.button-group .btn {
    flex: 1;
}

.result-score {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.result-score p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    margin: 20px 0;
}

.score-percentage {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.score-status {
    font-size: 1.3rem;
    margin-top: 15px;
    opacity: 0.95;
}

.success-message {
    background: #d1fae5;
    border: 2px solid #6ee7b7;
    color: #047857;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
}

.hidden {
    display: none;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

.spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}