.incorrect {
    background: red !important;
    color: #fff !important;
    border-color: red !important;
}
.correct {
    background: yellow !important;
    color: #fff !important;
    border-color: yellow !important;
}
/* Score page styles */
.score-container {
    position: relative;
}
#confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.score-content {
    position: relative;
    z-index: 2;
}
#final-score {
    font-size: 3em;
    font-weight: bold;
    margin: 20px 0;
}
#score-message {
    font-size: 1.3em;
    margin-bottom: 20px;
}
#high-score {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Quiz page styles */
.quiz-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px #0001;
    padding: 32px 24px;
    text-align: center;
}


#question {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 18px;
}
.quiz-container #options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}
.option {
    background: #f7f7f7;
    border: 2px solid #007bff;
    color: #007bff;
    font-size: 1.1em;
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    width: 48%;
    box-sizing: border-box;
}
.option:hover {
    background: #007bff;
    color: #fff;
}
button a {
    color: inherit;
    text-decoration: none;
    font-size: 1em;
}
button {
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #007bff;
}

#selected-msg{
    display: none;
}

#next-btn {
    display: none;
}

a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 32px;
    background-color: gray  ;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
}
a:hover {
    background-color: green;
    transform: translateY(-2px) scale(1.04);
}

.auth-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}
body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8ffae 0%, #43c6ac 100%);
}
input{
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
}

.signin {
    background-color: #4CAF50; 
    color: white;
    border: none;
    border-radius: 5px;
}
.signup {
    background-color: #008CBA; 
    color: white;
    border: none;
    border-radius: 5px;
}

.signin:hover, .signup:hover {
    opacity: 0.8;
}

.quiz-container {
    align-items: center;
}



/* Add to style.css for basic styling */
.auth-container {
    max-width: 350px;
    margin: 60px auto;
    padding: 32px 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px #0001;
    text-align: center;
}
.form-group {
    margin-bottom: 18px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.password-wrapper {
    display: flex;
    align-items: center;
}
.password-wrapper input {
    flex: 1;
}
.password-wrapper button {
    margin-left: 8px;
    padding: 6px 12px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 6px;
}
.signin-btn {
    width: 100%;
    padding: 10px;
    background: #0078d4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
}
.error-message {
    color: red;
    margin-top: 10px;
    min-height: 20px;
}
.auth-links {
    margin-top: 18px;
    font-size: 0.95em;
}
.auth-links a {
    color: #0078d4;
    text-decoration: none;
}