body {
        font-family: 'Courier New', Courier, monospace;
        background-color: rgb(141, 163, 250);
        margin: 0;
        padding: 20px;
    }

    .container {
        margin-top: 20px;
        background: rgb(164, 180, 241);
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0px 12px 5px rgba(0, 0, 0, 0.1);
        max-width: 1200px;
        text-align: center;
        margin: auto;
    }

    @media (max-width: 1200px) { .container { max-width: 992px; } }
    @media (max-width: 992px) { .container { max-width: 768px; } }
    @media (max-width: 768px) { .container { max-width: 600px; } }
    @media (max-width: 600px) { .container { max-width: 440px; padding: 10px; } }

    h1 {
        text-align: center;
        color: #fff;
        font-weight: bold;
        font-size: 3em;
        margin-bottom: 20px;
        -webkit-text-stroke: #252525 1px;
        text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.2);
    }

    @media (max-width: 600px) {
        h1 {
            font-size: 2em;
        }
    }

    #question-counter {
        text-align: center;
        color: white;
        font-size: 1.2em;
        margin-bottom: 20px;
        font-weight: bold;
    }

    @media (max-width: 600px) {
        #question-counter {
            font-size: 1em;
        }
    }

    button {
        display: inline-block;
        border-radius: 25px;
        background-color: rgb(141, 163, 250);
        color: #fff;
        padding: 1em;
        width: 100%;
        cursor: pointer;
        border: none;
        font-weight: bold;
        max-width: 200px;
        max-height: 55px;
        text-align: center;
        margin: 5px auto 10px auto;
        font-family: monospace;
        text-transform: uppercase;
        box-shadow: 0px 5px 2px rgba(0, 0, 0, 0.1);
        border-top: 2px solid #fff;
        transition: all 0.25s ease;
    }

    @media (max-width: 600px) {
        button {
            padding: 0.7em;
            font-size: 0.9em;
            max-width: 150px;
        }
    }

    button:hover {
        transition: all 0.4s ease-in-out;
        background-color: #fff;
        color: rgb(148, 167, 245);
        box-shadow: 0px 5px 2px rgba(0, 0, 0, 0.2);
    }

    #answers button {
        margin: 5px;
        background-color: rgb(65, 70, 176);
        margin-left: 5px;
        display: inline;
        max-width: 300px;
    }

    @media (max-width: 600px) {
        #answers button {
            max-width: 250px;
            display: block;
            margin: 10px auto;
        }
    }

    #answers button:hover {
        transition: all 0.4s ease-in-out;
        background-color: #fff;
        color: rgb(65, 70, 176);
        box-shadow: 0px 5px 2px rgba(0, 0, 0, 0.2);
    }

    #answers button.correct {
        background-color: #4CAF50 !important;
        color: white !important;
    }

    #answers button.incorrect {
        background-color: #f44336 !important;
        color: white !important;
    }

    #question p, #question {
        color: #fff;
    }

    .form-group {
        margin-bottom: 20px;
        text-align: left;
    }

    label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: white;
    }

    input[type="text"], textarea, select {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 5px;
        font-family: inherit;
        box-sizing: border-box;
    }

    @media (max-width: 600px) {
        input[type="text"], textarea, select {
            padding: 8px;
            font-size: 14px;
        }
    }

    textarea {
        height: 80px;
        resize: vertical;
    }

    .answer-group {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    @media (max-width: 600px) {
        .answer-group {
            padding: 10px;
        }
    }

    .answer-input {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    @media (max-width: 600px) {
        .answer-input {
            flex-direction: column;
            align-items: stretch;
        }
    }

    .answer-input input[type="text"] {
        flex: 1;
        margin-right: 10px;
    }

    @media (max-width: 600px) {
        .answer-input input[type="text"] {
            margin-right: 0;
            margin-bottom: 5px;
        }
    }

    .answer-input input[type="radio"] {
        margin-right: 10px;
    }

    .remove-btn {
        background-color: #f44336;
        max-width: 80px;
        padding: 5px;
    }

    .questions-list {
        margin-top: 30px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        text-align: left;
    }

    @media (max-width: 600px) {
        .questions-list {
            padding: 15px;
        }
    }

    .question-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 5px;
        color: white;
    }

    .quiz-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    @media (max-width: 600px) {
        .quiz-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
    }

    .quiz-card {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        color: white;
        text-align: left;
    }

    @media (max-width: 600px) {
        .quiz-card {
            padding: 15px;
        }
    }

    .quiz-card h3 {
        margin-top: 0;
        color: #fff;
    }

    .quiz-actions {
        margin-top: 15px;
    }

    .quiz-actions button {
        max-width: 80px;
        font-size: 0.8em;
        padding: 5px 10px;
        margin: 2px;
    }

    @media (max-width: 600px) {
        .quiz-actions button {
            max-width: 70px;
            font-size: 0.7em;
            padding: 4px 8px;
        }
    }

    .hide {
        display: none;
    }

    .nav-buttons {
        margin: 20px 0;
    }

    .category-filter {
        margin-bottom: 20px;
    }

    #timer {
        text-align: center;
        color: white;
        font-size: 1.5em;
        font-weight: bold;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.2);
        padding: 10px;
        border-radius: 10px;
        display: inline-block;
    }

    @media (max-width: 600px) {
        #timer {
            font-size: 1.2em;
            padding: 8px;
        }
    }

    #timer.warning {
        background: rgba(255, 165, 0, 0.6);
        animation: pulse 1s infinite;
    }

    #timer.danger {
        background: rgba(255, 0, 0, 0.6);
        animation: pulse 0.5s infinite;
    }

    @keyframes pulse {
        0% { opacity: 1; }
        50% { opacity: 0.7; }
        100% { opacity: 1; }
    }

    .review-question {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
        color: white;
        text-align: left;
    }

    @media (max-width: 600px) {
        .review-question {
            padding: 15px;
        }
    }

    .review-answer {
        padding: 10px;
        margin: 5px 0;
        border-radius: 5px;
    }

    .review-answer.correct {
        background: rgba(76, 175, 80, 0.3);
        border-left: 4px solid #4CAF50;
    }

    .review-answer.incorrect {
        background: rgba(244, 67, 54, 0.3);
        border-left: 4px solid #f44336;
    }

    .review-answer.user-selected {
        border: 2px solid #fff;
    }
 