/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');


/* --- CSS Variables (Color Palette) --- */
:root {
    --primary-color: #0056b3; /* Darker Blue */
    --secondary-color: #f9d71c; /* Sunny Yellow */
    --accent-color: #ff6b6b; /* Playful Red */
    --text-color: #333;
    --bg-color: #fdfdfd;
    --white: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- General Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

main {
    flex-grow: 1;
    padding: 2rem 1rem;
}

.container {
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3 {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-title h1 a {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-weight: 700;
    font-size: 1.1rem;
    padding-bottom: 0.3125rem;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.main-nav a:hover {
    text-decoration: none;
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 1.5625rem;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0.2s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    left: 0;
    transition: transform 0.2s ease-in-out;
}

.hamburger::before {
    top: -0.5rem;
}

.hamburger::after {
    bottom: -0.5rem;
}


/* --- Homepage Specific: Card Grid Layout --- */
.welcome-section {

    text-align: center;
    padding: 2rem 0 3rem 0;
}

.index-description {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
    text-align: center;
    padding: 2rem 0 3rem 0;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    width: calc(50% - 1rem);
    max-width: 18.75rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #666;
}

.construction-note {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    color: #d9534f;
    margin-top: 0.5rem;
}

/* --- Signature Container --- */
.signature-container {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    text-align: right;
}

.breathing-text {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    animation: breathe 2s infinite ease-in-out;
    transform-origin: right;
}


/* --- Keyframe Animations --- */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}


/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 31.25rem;
    width: 90%;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.modal-buttons button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-buttons button:hover {
    background-color: #0056b3; /* Darker blue */
}

/* --- Tooltip Styles --- */
[data-key] {
    position: relative;
    cursor: help;
    border-bottom: 2px var(--accent-color);
}

[data-key]::after {
    content: attr(data-translation);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 9.375rem;
    padding: 0.8rem;
    border-radius: 0.5rem;
    background: #333;
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1001;
}

[data-key]:hover::after {
    visibility: visible;
    opacity: 1;
	position: absolute;
	z-index: 1001;
}

/* --- Learning Outcomes Page --- */
.outcomes-content h2 {
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.outcomes-content h3 {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.outcomes-content ul {
    list-style: disc;
    padding-left: 2rem;
}

.outcomes-content li {
    margin-bottom: 0.5rem;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .main-nav ul.active {
        display: flex;
    }

    .main-nav li {
        padding: 1rem 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg) translate(0.3125rem, 0.4375rem);
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg) translate(0.3125rem, -0.4375rem);
    }

    .card {
        width: 100%;
        max-width: 21.875rem;
    }
}

/* --- Vocabulary Hub Page --- */
.vocabulary-hub {
    text-align: center;
    padding: 2rem;
}
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}
/* On larger screens, force a 2x2 grid */
@media (min-width: 769px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 37.5rem; /* Adjust as needed */
        margin-left: auto;
        margin-right: auto;
    }
}
.activity-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.9375rem;
    background-color: #f0f8ff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    min-height: 11.25rem;
    width: 100%;
    max-width: 13.75rem;
}
.activity-btn:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.activity-btn img {
    max-width: 6.25rem;
    margin-bottom: 1rem;
}
.colours-btn-visual {
    display: flex;
    flex-direction: row; /* Changed to row for horizontal layout */
    justify-content: center; /* Center the dots */
    align-items: center;
    gap: 0.5rem;
     margin-bottom: 1rem;
}
.colour-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}
.red { background-color: #ff5e5e; }
.green { background-color: #5eff79; }
.blue { background-color: #5e95ff; }

.numbers-btn-visual {
    font-size: 3rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: #0056b3;
    margin-bottom: 1rem;
}

/* --- Vocabulary Activity Page --- */
.activity-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1rem;
}
.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}
.roadmap {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.roadmap .step {
    opacity: 0.5;
    font-weight: normal;
}
.roadmap .step.active {
    opacity: 1;
    font-weight: bold;
    color: #0056b3;
    text-decoration: underline;
}
#activity1, #activity2 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}
#activity2 {
    display: none; /* Initially hidden */
}
.draggable-items, .drop-zones {
    flex: 1;
    min-width: 18.75rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.draggable-items h3, .drop-zones h3 {
    text-align: center;
    margin-top: 0;
}
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
    gap: 1rem;
}
.draggable-item {
    width: 100%;
    cursor: grab;
    transition: transform 0.2s;
}
.draggable-item:active {
    cursor: grabbing;
    transform: scale(1.1);
}
.drop-zone {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border: 2px dashed #ccc;
    border-radius: 0.5rem;
    min-height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
}
.drop-zone.hovered {
    background-color: #e8f4ff;
}
.drop-zone.correct {
    border: 2px solid #28a745;
    background-color: #d4edda;
}
.drop-zone.incorrect {
    border: 2px solid #dc3545;
    animation: shake 0.5s;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-0.3125rem); }
    75% { transform: translateX(0.3125rem); }
}
.scene-container {
    flex: 3;
    min-width: 25rem;
    height: 37.5rem;
    background-image: url('../images/vocabulary/backgrounds/classroom.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    position: relative;
}
.scene-sidebar {
    flex: 1;
    min-width: 12.5rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.scene-sidebar .items-grid {
    grid-template-columns: repeat(auto-fill, minmax(3.75rem, 1fr));
}
.scene-drop-zone {
    position: absolute;
    border: 2px dashed #0056b3;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    color: #0056b3;
}
.scene-drop-zone.correct {
    border: none;
    background-color: transparent;
}
.hidden {
    display: none;
}

/* --- Placeholder Page --- */
.placeholder-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    text-align: center;
}

/* --- Listen and Repeat Activity --- */
.listen-repeat-body {
    background-color: #f0f8ff; /* Light, friendly blue */
}

.listen-repeat-body .activity-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2rem;
}

.listen-repeat-body .cards-wrapper {
    display: flex;
    gap: 1.25rem;
    width: 100%;
    max-width: 50rem;
    justify-content: center;
}

.listen-repeat-body .card {
    flex: 1;
    background-color: #fff;
    border-radius: var(--border-radius, 15px);
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 12.5rem;
    max-width: 21.875rem;
}

.listen-repeat-body .card-description {
    margin-top: 0.9375rem;
    font-size: 1rem;
    color: #666;
}

.listen-repeat-body #word-display {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.listen-repeat-body .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 3rem;
    color: var(--primary-color, #0056b3);
}

.listen-repeat-body .icon-btn:hover {
    color: #007bff;
}

.listen-repeat-body #mic-btn.listening .fa-microphone {
    animation: pulse 1.5s infinite;
}

.listen-repeat-body .feedback-container {
    margin-top: 1.25rem;
    font-size: 1.5rem;
    text-align: center;
}

.listen-repeat-body #message-container {
    margin-top: 1.25rem;
    font-size: 1.5rem;
    font-weight: bold;
    min-height: 3.125rem;
    text-align: center;
}

.listen-repeat-body #mic-status {
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    min-height: 1.5rem;
    text-align: center;
}

.listen-repeat-body .mic-status-listening {
    color: #28a745;
}

.listen-repeat-body .mic-status-idle {
    color: #6c757d;
}

.listen-repeat-body .mic-status-waiting {
    color: #17a2b8;
}

.listen-repeat-body .message-correct {
    color: #28a745;
}

.listen-repeat-body .message-error {
    color: #dc3545;
}

.listen-repeat-body .message-countdown {
    color: #17a2b8;
}

.listen-repeat-body .final-completion {
    animation: glow 2s infinite alternate;
}

.back-link.glow {
    animation: glow 1.5s infinite ease-in-out;
    border-radius: var(--border-radius); /* Add radius for glow effect */
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes glow {
    from { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #007bff, 0 0 40px #007bff; }
    to { text-shadow: 0 0 20px #fff, 0 0 30px #007bff, 0 0 40px #007bff, 0 0 50px #007bff; }
}

@media (max-width: 768px) {
    .listen-repeat-body .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
}
.header-logo-img {
    height: 2.5rem;
    vertical-align: middle;
    margin-left: 0.625rem;
}

/* --- Styles from pronunciation.html --- */
.pronunciation-page .activity-hub {
    text-align: center;
    padding: 2.5rem 1.25rem;
}
.pronunciation-page .activity-grid {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.875rem;
    flex-wrap: wrap;
}
.pronunciation-page .card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1.5625rem;
    width: 18.75rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.pronunciation-page .card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.pronunciation-page .card h3 {
    margin-top: 0;
    color: var(--primary-color);
}
.pronunciation-page .card p {
    flex-grow: 1;
}

/* --- Styles from classroom_objects.html --- */
.classroom-objects-page .drop-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 1rem;
}
.classroom-objects-page .description-text {
    flex-grow: 1;
    margin-right: 0.5rem;
}
.classroom-objects-page .drop-target {
    width: 3.125rem;
    height: 3.125rem;
    border: 2px dashed var(--primary-color);
    border-radius: 0.5rem;
    flex-shrink: 0;
    transition: background-color 0.2s;
}
.classroom-objects-page .drop-target.hovered {
    background-color: #e8f4ff;
}
.classroom-objects-page .drop-target .draggable-item {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.classroom-objects-page .completion-message {
    display: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-top: 1rem;
}
.classroom-objects-page .back-link.glow {
    animation: glow 1.5s infinite ease-in-out;
    border-radius: var(--border-radius);
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 8px var(--secondary-color); }
    50% { box-shadow: 0 0 25px var(--secondary-color); }
}
.classroom-objects-page #itemsGrid1, .classroom-objects-page #dropZones1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.classroom-objects-page .item-container {
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, opacity 0.2s;
    height: 5rem;
    box-sizing: border-box;
}
.classroom-objects-page .draggable-item {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    cursor: grab;
}
.classroom-objects-page .mobileviewdescription {
	padding-bottom: 1.25rem;
}
.classroom-objects-page .item-container.used {
    opacity: 0.4;
    background-color: #e9e9e9;
}
@media (max-width: 768px) {
    .classroom-objects-page #itemsGrid1, .classroom-objects-page #dropZones1 {
        display: flex;
        flex-direction: column;
    }
    .classroom-objects-page .item-container {
        height: 3.75rem;
    }
    .classroom-objects-page .item-container.selected {
        border: 3px solid blue;
    }
    .classroom-objects-page .item-container.used {
        pointer-events: none;
    }
    .classroom-objects-page .drop-target.incorrect-mobile {
        border: 2px solid red;
    }
    .classroom-objects-page .items-grid.glow-hint {
        box-shadow: 0 0 15px lightblue;
        transition: box-shadow 0.3s ease-in-out;
    }
}

/* --- Hub Page Visuals --- */
.hub-background {
    background-image: url('../images/other/visualelements/classroombackground.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.readable-background {
    background-color: #FFFFFF;
    padding: 0.625rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin: 0.5rem 0;
}

.large-padding {
    padding: 1.5625rem;
}

/* --- Listening Page --- */
.listening-page #listening-quiz-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.listening-page .quiz-question h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.listening-page .quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.listening-page .quiz-option {
    background-color: #f0f8ff;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: background-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 9.375rem;
}

.listening-page .quiz-option:hover {
    background-color: #e0f0ff;
    transform: translateY(-0.3125rem);
}

.listening-page .quiz-option img {
    max-height: 3.75rem;
    margin-bottom: 0.5rem;
}

.listening-page .quiz-option .color-circle {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 2px solid rgba(0,0,0,0.1);
}

.listening-page .quiz-option.incorrect {
    animation: shake 0.5s;
    border-color: var(--accent-color);
}

.listening-page .quiz-option.correct {
    border-color: #28a745; /* Green for correct */
    background-color: #d4edda; /* Light green background */
}

.listening-page audio {
    display: block;
    margin: 1rem auto;
}

.listening-page .audio-instructions {
    text-align: center;
    background-color: #e0f0ff;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin: 1rem auto;
    max-width: 25rem;
}

.listening-page #completion-message {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
}

@media (max-width: 768px) {
    .listening-page .quiz-options {
        grid-template-columns: 1fr;
    }
}

/* --- Reading Page --- */
.reading-page .activity-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.reading-page #reading-quiz-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.reading-page .quiz-question h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.reading-page .quiz-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.reading-page .quiz-option {
    background-color: #f0f8ff;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: background-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 6.25rem;
}

.reading-page .quiz-option:hover {
    background-color: #e0f0ff;
    transform: translateY(-0.3125rem);
}

.reading-page .quiz-option.color-swatch {
    min-height: 5rem;
    border: 2px solid rgba(0,0,0,0.1);
}

.reading-page .quiz-option img {
    max-height: 3.75rem;
    margin-bottom: 0.5rem;
}

.reading-page .quiz-option.incorrect {
    animation: shake 0.5s;
    border-color: var(--accent-color);
}

.reading-page .quiz-option.correct {
    border-color: #28a745;
    background-color: #d4edda;
}

.reading-page #completion-message {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
}

.reading-page .quiz-options.text-only {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .reading-page .quiz-options {
        grid-template-columns: 1fr;
    }
    .reading-page .quiz-options.text-only {
        grid-template-columns: 1fr;
    }
}
