/* === Custom Styling for index.html (Demo Quiz Result) === */

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.score-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.score-count {
    font-weight: bold;
    font-size: 1.2rem;
    color: #444;
}

.result-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    border-left: 6px solid #646465;
    position: relative;
}

.question-number {
    position: relative;
    background: #ff9800;
    color: #fff;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.result-media {
    flex: 0 0 220px;
    margin-right: 20px;
}

.result-video,
.result-image {
    width: 100%;
    border-radius: 8px;
}

.result-text {
    flex: 1;
}

.result-text h4 {
    margin-top: 0;
    font-size: 1rem;
}

.answer-explanation.correct {
    color: #2e7d32;
    /* green */
}

.answer-explanation.incorrect {
    color: #c62828;
    /* red */
}

.answer-explanation.unanswered {
    color: #333;
    /* neutral */
}

.score-subtext {
    margin: 4px 0 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Onderstaande is voor 3 pakketten. */


.plan-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    flex-direction: row;
    width: 100%;
}

.plan-card {
    flex: 1 1 300px;
    background: #2d2e4a;
    color: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    cursor: pointer;
    max-width: min(100%, 400px);
    text-align: left;
}


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

.plan-card h2,
.plan-card .price,
.plan-card li {
    color: white;
}

.plan-card h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.plan-card .price {
    font-size: 1.9em;
    font-weight: bold;
    margin-bottom: 16px;
}

.plan-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.plan-card li {
    margin: 10px 0;
    font-size: 1em;
}

.select-button {
    background: linear-gradient(to right, #ff5722, #ff9800);
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
}

.select-button:hover {
    opacity: 0.9;
}

.plan-card.basic {
    background: #46477A;
    /* Lighter than #3a3b5e */

    /* Brighter than before. */
}

.plan-card.pro {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
}

.plan-card.deluxe {
    background: linear-gradient(135deg, #ff6f00, #ff8f00);
}

@media (max-width: 960px) {
    .plan-cards {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        max-width: 90%;
    }
}

/* DEMO QUIZ NAVIGATION BUTTONS */
#demo-quiz-navigation .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

#demo-quiz-navigation .btn-primary:hover {
    background-color: var(--primary-color-hover) !important;
    border-color: var(--primary-color-hover) !important;
}

#demo-quiz-navigation .btn-secondary {
    background-color: transparent !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
}

#demo-quiz-navigation .btn-secondary:hover {
    background-color: var(--primary-color-light) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* DEMO QUIZ NAVIGATION - MOBILE FIX */
#demo-quiz-navigation {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

#demo-quiz-navigation .nav-button-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

#demo-quiz-navigation .btn {
    flex: 1;
    /* Make buttons equal width */
    min-width: 0;
    /* Allow buttons to shrink */
    text-align: center;
}

/* Desktop layout */
@media (min-width: 769px) {
    #demo-quiz-navigation {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 0;
    }

    #demo-quiz-navigation .nav-button-group {
        width: auto;
        gap: 15px;
    }

    #demo-quiz-navigation .btn {
        flex: none;
        min-width: 120px;
    }

    /* Push "Volgende" to right on desktop */
    #demo-quiz-navigation .nav-button-group:last-child {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .demo-question-layout {
        flex-direction: column !important;
    }

    .demo-question-media-container,
    .demo-question-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .demo-question-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }

    .demo-question-media-container,
    .demo-question-content {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .demo-question-content h3 {
        font-size: 1.1rem !important;
        margin-top: 0 !important;
    }

    .demo-question-block {
        padding: 16px !important;
    }
}

@media (max-width: 768px) {
    .result-block {
        flex-direction: column;
    }

    .result-media {
        flex: 1;
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .result-video,
    .result-image {
        max-width: 100%;
    }

    .result-text {
        width: 100%;
    }
}

/* === Custom Styling for index.html (Demo Quiz Result) for the boxes === */

.plan-price {
    margin: 0.5em 0 1em 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    gap: 0.7em;
    align-items: end;
}

.plan-price .old-price {
    color: #fff;
    text-decoration: line-through;
    font-size: 1.1rem;
    opacity: 0.7;
    font-weight: 400;
}

.plan-price .new-price {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.plan-card {
    /* example: add a nice background to see white price, optional */
    background: linear-gradient(120deg, #ff7a00 80%, #ffb700 100%);
    color: #fff;
}

.plan-card ul {
    margin-top: 1.3em;
    margin-bottom: 1.3em;
    padding-left: 1.3em;
    list-style: none;
}

.plan-card ul li {
    font-size: 1.03rem;
    margin-bottom: 0.4em;
    color: #fff;
    opacity: 0.93;
}

.plan-card ul li.highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    opacity: 1;
}

.plan-btn,
.select-button {
    background: #fff;
    color: #ff7a00;
    font-weight: 600;
    border: none;
    border-radius: 0.5em;
    font-size: 1.1rem;
    padding: 0.8em 1.4em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin-top: 1em;
    box-shadow: 0 1px 4px #0001;
}

.plan-btn:hover,
.select-button:hover {
    background: #ffb700;
    color: #fff;
}

.plan-price {
    display: flex;
    align-items: flex-end;
    gap: 0.7em;
    margin-bottom: 1.2rem;
}

.plan-price .new-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}

.plan-price .old-price {
    font-size: 1.6rem;
    /* Bigger than before */
    color: #e5e5e5;
    text-decoration: line-through;
    margin-left: 0.1em;
    font-weight: 500;
    position: relative;
    top: -0.95em;
    /* This moves it up (superscript effect) */
    opacity: 0.6;
    letter-spacing: -1px;
}

.text-success {
    color: #28a745;
}

/* Green */
.text-danger {
    color: #e53935;
}

/* KORTING */

.plan-card {
    position: relative;
    padding: 20px;
    background: #2a4066;
    /* Matches the dark blue from the image */
    border-radius: 15px;
    color: white;
    text-align: left;
    overflow: visible;
    /* Allows the image to extend outside the card */
}

.korting-image {
    position: absolute;
    top: -70px;
    /* Move it higher */

    /* Increased from -15px to -30px to move it higher. */
    right: -40px;
    /* Adjusted to balance the larger width */
    width: 100px;
    /* Set to 150px as requested */
    height: auto;
    z-index: 10;
    /* Ensure it appears above other content */
}

.plan-price {
    margin: 10px 0;
}

.new-price {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.old-price {
    font-size: 16px;
    color: #ccc;
    text-decoration: line-through;
    margin-left: 10px;
}

.plan-btn {
    background: #f5a623;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.plan-btn:hover {
    background: #e5941e;
}


/* SPANDOEK */

.plan-banner-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 20px;
}

/* Bigger size for desktop */
.spandoek {
    width: 220px;
    height: auto;
    flex-shrink: 0;
    z-index: 5;
}

.spandoek.left {
    transform: rotate(-4deg);
    margin-left: -30px;
}

.spandoek.right {
    transform: rotate(4deg);
    margin-right: -30px;
}

/* Mobile layout improvement. */
@media (max-width: 768px) {
    .plan-banner-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .spandoek.left {
        transform: rotate(0);
        margin-left: 0;
    }

    .spandoek.right {
        transform: rotate(0);
        margin-right: 0;
    }

    .spandoek {
        width: 180px;
        display: block;
        margin: 0 auto;
    }
}


/* footer copyright styling */


.footer-subtle {
    background-color: white;
    padding: 10px 0;
    font-size: 13px;
    color: #aaa;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 50px;
}

.footer-subtle .footer-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    color: #aaa;
}

.footer-subtle a {
    text-decoration: none;
    color: #aaa;
    font-weight: normal;
}

.footer-subtle a:hover {
    text-decoration: underline;
}


.highlight-text {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    color: #232323;
    letter-spacing: 0.03em;
}

.animated-orange-number {
    font-size: 2.6rem;
    color: #ff8000;
    /* VLC orange */
    font-weight: 900;
    padding: 0 0.15em;
    text-shadow: 0 2px 8px rgba(255, 128, 0, 0.18);
    transition: color 0.2s;
}


/* no media controls landing page index html video player */

video.no-controls::-webkit-media-controls {
    display: none !important;
}

video.no-controls {
    pointer-events: none;
    /* optional: blocks user from interacting */
}