/* General Body Styles */
body {
    font-family: sans-serif;
    background-color: #f0f2f5;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
        background-image: url("bg.png");
    background-repeat: no-repeat;
  background-size: cover;
}

/* Main content container */
#quiz-wrapper {
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    transition: background-color 0.4s ease;
}
#quiz-wrapper.result-active {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

/* Logo, Typography, Forms, etc. (No changes here) */
.logo { max-width: 200px; margin-bottom: 30px; }
h1 { font-size: 30px; color: #ffffff; margin-bottom: 25px; line-height: 1.3; text-align: center; }
h2 { font-size: 30px; color: #ffffff; margin-bottom: 20px; font-weight: normal; }
#user-info-form { display: flex; flex-direction: column; gap: 15px; text-align: left; }
#user-info-form label { font-size: 14px; font-weight: 600; margin-bottom: -10px; }
#user-info-form input[type="text"], #user-info-form input[type="email"] { width: 100%; padding: 14px; font-size: 16px; border: 1px solid #dddfe2; border-radius: 8px; box-sizing: border-box; }
.privacy-policy { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.privacy-policy label { font-size: 14px; font-weight: normal; color: #fff; margin: 0; }
.privacy-policy input[type="checkbox"] { width: 18px; height: 18px; }
button { font-family: sans-serif; font-size: 20px; font-weight: bold; color: #ed304c; background-color: #79F8D4; border: none; border-radius: 8px; padding: 16px; cursor: pointer; width: 100%; margin-top: 10px; transition: background-color 0.3s ease, opacity 0.3s ease;}
button:hover { background-color: #68dbc0; }
button:disabled { opacity: 0.6; cursor: not-allowed; background-color: #79F8D4; }
.secondary-text { font-size: 30px; font-weight: bold; color: #ffffff; margin-top: 20px; }
#question-counter { text-align: center; display:none; }
#question-screen .options-container { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; margin-bottom: 25px; }
.option-box { background-color:#c42a47; border: 0px solid #dddfe2; border-radius: 8px; padding: 16px; text-align: left; cursor: pointer; transition: border-color 0.3s ease, box-shadow 0.3s ease;color:#ffffff; font-size:20px; }
.option-box:hover { border-color: #cccccc; }
.option-box.selected { border: 2px solid #ffffff; box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); padding: 15px; }
#result-screen { color: #ffffff; padding: 40px; border-radius: 16px; display: none; }
#result-screen h1 { color: #ffffff; font-size: 30px; text-align: center; }
#result-screen h2 { color: #ffffff; font-size: 30px; font-weight: bold; text-align: center; margin-top: 20px; margin-bottom: 5px; }
#result-screen p { font-size: 22px; text-align: center; margin-top: 0; }
#result-screen hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.5); margin: 30px 20px; }
#result-screen button { background-color: transparent; color:#ffffff; border: 2px solid #ffffff; font-size:18px;max-width:300px; }
#result-screen button:hover { background-color: rgba(255, 255, 255, 0.1); }


/* --- NEW: Fullscreen Dialog Styles --- */
#fullscreen-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none; /* Controlled by JS */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

#fullscreen-dialog-content p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Use specific styles for these buttons */
#fullscreen-dialog-content button {
    background-color: #007bff;
    color:#ffffff;
    padding: 12px 24px;
    margin: 0 10px;
    width: auto; /* Override general button width */
}

#fullscreen-dialog-content button:hover {
    background-color: #0056b3;
}
a {
    color:#fff;
}
}