.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 2px solid #ccc;
}


.card:hover {
    transform: translateY(-5px);
}

.qz-container {
    max-width: 100% !important;
    margin-top: 50px;
}

.qz-timer {
    font-size: 1.2rem;
    font-weight: bold;
    color: red;
}

.qz-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.qz-option {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.qz-option:hover {
    background: #e2e6ea;
}

.qz-btn-submit,
.qz-btn-restart {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.2s ease-in-out;
    color: white;
    display: block;
    width: 100%;
}

.qz-btn-submit:hover,
.qz-btn-restart:hover {
    background-color: #0056b3;
}

.qz-hidden {
    display: none;
}

.qz-result {
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.correct {
    background-color: #d4edda !important;
    border-color: #28a745 !important;
}

.incorrect {
    background-color: #f8d7da !important;
    border-color: #dc3545 !important;
}

.qz-explanation {
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    margin-top: 5px;
}

.no-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    text-align: center;
}

.no-content p {
    font-size: 1.5rem;
    font-weight: bold;
}

.question-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.question-number {
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    line-height: 1.2;
}

.question-text {
    font-size: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.text-warning {
    color: orange;
    font-weight: bold;
}

.text-success {
    color: green;
    font-weight: bold;
}

.text-danger {
    color: red;
    font-weight: bold;
}

.fixed-timer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

@media (max-width: 600px) {
    .fixed-timer {
        font-size: 18px;
        padding: 10px;
    }

    .qz-card {
        padding: 6.5px;
        margin-bottom: 15px;
    }
}

.intro-section {
    max-width: 100%;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.intro-section h1 {
    font-size: 2.5rem;
    color: #1f2937;
    text-align: center;
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.intro-section h2 {
    font-size: 1.75rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #1e40af;
}

.intro-section h3 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #060915;
}

.intro-section ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.intro-section ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.cta-button {
    display: inline-block;
    background-color: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: 30px;
}

.cta-button:hover {
    background-color: #1d4ed8;
}

@media (max-width: 768px) {
    .intro-section {
        padding: 30px 20px;
    }

    .intro-section h1 {
        font-size: 2rem;
    }
}