
         :root {
    --primary: #6C63FF;    
    --secondary: #F0F4FF;     
    --accent: #FF6584;        
    --dark: #2E2E3A;         
    --light: #FFFFFF;         
    --success: #28a745;
    --danger: #E63946;        
    --warning: #FFB703;       
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.card {
    background-color: var(--light);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    padding: 35px;
    margin-top: 25px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.01);
}

h1, h2, h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-danger {
    background: var(--danger);
}

.btn-success {
    background: var(--success);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--primary);
}

.timer {
    font-weight: bold;
    color: var(--accent);
    font-size: 18px;
}

.progress {
    width: 100%;
    background-color: #dfe6f2;
    height: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 8px;
    transition: width 0.3s ease-in-out;
}

.question {
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: bold;
    color: var(--dark);
}

.options {
    list-style-type: none;
    padding-left: 0;
}

.option {
    background-color: #eef2ff;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.option:hover {
    background-color: #dee5ff;
}

.option.selected {
    background-color: var(--primary);
    color: white;
    border-color: var(--accent);
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

.results-container {
    text-align: center;
    margin-top: 30px;
}

.result-card {
    background-color: #f3f6fd;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 30px auto;
    box-shadow: 0 6px 15px rgba(108, 99, 255, 0.3);
}

.hidden {
    display: none;
}

.error {
    color: var(--danger);
    margin-top: 5px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .card {
        padding: 20px;
    }

    .question {
        font-size: 17px;
    }

    .option {
        padding: 12px;
    }

    .score-circle {
        width: 90px;
        height: 90px;
        font-size: 20px;
    }
}
.correct {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.incorrect {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}
