body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f9;
    margin: 0;
}

#warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#warning-box {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 85%;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.2);
}

#warning-box h2 {
    color: #f44336;
    margin-top: 0;
}

#warning-box p {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

#agree-btn {
    background-color: #f44336;
    color: white;
    width: 100%;
    margin-top: 15px;
}


#quiz-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 450px;
    width: 90%;
}

#question-title {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
}

#image-container {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#button-container {
    display: flex;
    justify-content: space-around;
}

button {
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    transition: transform 0.1s, opacity 0.2s;
    width: 45%;
}

button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

button:first-of-type { 
    background-color: #4CAF50; 
    color: white; 
}

button:last-of-type { 
    background-color: #f44336; 
    color: white; 
}

.hidden { 
    display: none !important; 
}

#final-score {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}


#review-list {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
    text-align: left;
}

.review-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 5px solid;
}

.review-correct {
    background-color: #e8f5e9;
    border-left-color: #4CAF50;
}

.review-wrong {
    background-color: #ffebee;
    border-left-color: #f44336;
}

.review-thumb {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    margin-bottom: 0 !important;
}

.review-text {
    font-size: 14px;
    color: #333;
}

.review-subtext {
    font-size: 12px;
    color: #666;
}


