.preview-test-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
    max-width: 100%;
}

.preview-container {
    max-width: 1000px; /* Full width including nav bar space */
    margin: 0 auto;
    padding: 30px;
    padding-right: 170px; /* Extra padding on right for nav bar */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: scale(1.0);
    transform-origin: top center;
    min-height: 600px; /* Ensure minimum height for nav bar */
}

.timer-container {
    display: none; /* Hide old timer container */
}

/* Timer inside preview nav-bar */
.preview-nav-bar .timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.8rem 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.preview-nav-bar .timer span {
    font-size: 1.3rem;
    font-weight: 700;
    white-space: nowrap;
}

.preview-quiz {
    min-height: 500px;
    margin-bottom: 100px;
    margin-right: 0; /* No extra margin needed since container has margin */
    max-width: 100%;
    text-align: left;
}

#preview-question {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.5;
    max-width: 100%;
}

.preview-answer-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    max-width: 100%;
}

.preview-btn {
    background: #fff;
    color: #333;
    font-weight: 500;
    width: 100%;
    max-width: 800px;
    border: 1px solid #ccc;
    padding: 18px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.05s;
    border-color: black;
    display: flex;
    align-items: center;
    font-size: 17px;
}

.preview-btn:hover {
    background: #2a3f58;
    color: #fff;
    border-color: #2a3f58;
}

.preview-btn.selected {
    background: #355070;
    color: #fff !important;
    border-color: #355070;
}

.radio-circle {
    width: 16px;
    height: 16px;
    border: 1px solid black;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    background: white;
}

.preview-btn.selected .radio-circle {
    border-color: #E56B6F;
    background: white;
}

.preview-btn.selected .radio-circle::after {
    content: '';
    width: 7px;
    height: 7px;
    background: #E56B6F;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}

/* Preview Navigation Bar - Vertical on Right (same as main test) */
.preview-nav-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%; /* Match container height */
    width: 140px; /* Wider navigation bar for 2 columns */
    background: #ffffff;
    padding: 1rem 0.5rem;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    gap: 0.75rem;
    overflow: hidden;
    border-radius: 0 10px 10px 0; /* Match container border radius on right */
    box-sizing: border-box;
    justify-content: flex-start;
}

/* Preview Navigation circles - 2 column grid layout */
.preview-page-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin: 0;
    justify-content: center;
    align-items: start;
    align-content: start;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #cacaca #ffffff;
    width: 100%;
    grid-auto-rows: min-content;
    justify-items: stretch; /* Default: stretch to fill grid cells */
}

.preview-page-circle {
    background: #ffffff;
    border: 1px solid #cacaca;
    color: #000000;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 0;
    height: fit-content;
}

.preview-page-circle.active {
    background: white !important;
    color: black !important;
    border: 2px solid #000000 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3) !important;
}

.preview-page-circle.visited {
    border: 2px solid #000000;
    background: #ffffff;
    color: #000000;
}

.preview-page-circle.selected {
    background: black;
    color: white;
    border-color: black;
}

.preview-page-circle.selected:hover {
    background: white;
    color: black;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(181, 101, 118, 0.2);
}

.preview-page-circle.visited:hover {
    background: black;
    color: #ffffff;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(181, 101, 118, 0.2);
}

.preview-page-circle:not(.visited):hover {
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(181, 101, 118, 0.1);
}

/* Custom scrollbar for preview page-numbers */
.preview-page-numbers::-webkit-scrollbar {
    width: 4px;
}

.preview-page-numbers::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.preview-page-numbers::-webkit-scrollbar-thumb {
    background: #cacaca;
    border-radius: 10px;
}

.preview-page-numbers::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.preview-input {
    flex: 0;
    max-width: 250px;
    min-width: 200px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid black;
    border-radius: 5px;
    width: auto;
    display: block;
}

.input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
}

.preview-input-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.preview-results {
    text-align: center;
    padding: 20px;
}

.preview-signup-btn {
    background: #355070;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.preview-signup-btn:hover {
    background: #2a3f58;
}

@media screen and (max-width: 768px) {
    .preview-test-section {
        padding: 2rem 0.5rem;
    }

    .preview-test-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .preview-container {
        transform: scale(1.0);
        padding: 10px;
        padding-right: 60px; /* Extra padding on right for nav bar */
        margin: 0 auto;
        max-width: calc(100% - 20px);
        min-height: 500px; /* Fixed height for longest question */
    }
    
    .preview-quiz {
        min-height: 450px; /* Fixed height for longest question */
        margin-bottom: 20px;
        height: 450px; /* Fixed height to match longest question */
        overflow-y: auto; /* Allow scrolling if content exceeds */
    }
    
    #preview-question {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .preview-btn {
        padding: 10px;
        font-size: 13px;
        border-radius: 6px;
    }

    .radio-circle {
        width: 12px;
        height: 12px;
        margin-right: 8px;
    }

    .preview-btn.selected .radio-circle::after {
        width: 5px;
        height: 5px;
    }
    
    .preview-nav-bar {
        width: 55px;
        padding: 0.4rem 0.25rem;
        gap: 0.4rem;
        height: 100%; /* Match container height */
    }
    
    .preview-nav-bar .timer {
        font-size: 0.65rem;
        padding: 0.3rem 0.25rem;
    }
    
    .preview-nav-bar .timer span {
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    .preview-page-numbers {
        gap: 2px;
        padding: 0.25rem;
    }
    
    .preview-page-circle {
        font-size: 0.6rem;
        border-radius: 2px;
        border-width: 1px;
    }

    .preview-nav-bar .nav-arrow {
        width: 20px;
        height: 18px;
        font-size: 0.6rem;
        border-width: 1.5px;
        border-radius: 3px;
    }

    .preview-nav-bar .nav-arrow.show-results {
        height: 18px;
        font-size: 0.55rem;
        padding: 0 4px;
        width: 100%;
    }

    .preview-answer-buttons {
        gap: 10px;
    }

    .preview-input {
        max-width: 180px;
        min-width: 150px;
        padding: 6px;
        font-size: 13px;
        border-radius: 4px;
    }

    .preview-input-label {
        font-size: 13px;
    }

    .input-container {
        gap: 8px;
        margin: 8px 0;
    }

    /* Style for subquestion containers */
    .input-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Make image grid smaller on mobile */
    .image-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 10px 0 !important;
        max-width: 100% !important;
    }

    .image-grid .preview-btn.image-answer {
        padding: 10px !important;
    }

    .image-grid .preview-btn.image-answer img {
        max-height: 100px !important;
    }

    /* Make answer images smaller */
    .answer-image {
        max-width: 100px !important;
        max-height: 100px !important;
    }

    /* Ensure input boxes appear after subquestion */
    .input-container > div:not(:first-child) {
        margin-top: 8px;
    }

    /* Style for subquestion text */
    .input-container > div:first-child {
        margin-bottom: 8px;
        font-size: 13px;
    }

    /* Style for subquestion images */
    .subquestion-image {
        max-width: 100% !important;
        max-height: 150px !important;
        margin-bottom: 10px;
    }

    /* Results page styling for mobile */
    .preview-results {
        padding: 15px;
    }

    .preview-score {
        margin-bottom: 15px;
    }

    .preview-score h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .preview-score-buttons {
        gap: 10px;
        margin-top: 15px;
    }

    .preview-question-result {
        margin-bottom: 20px;
        padding: 12px;
        border-radius: 6px;
    }

    .preview-question-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .preview-answer-option {
        padding: 8px;
        margin-bottom: 6px;
        border-radius: 4px;
        font-size: 0.85rem;
    }

    .preview-results-header {
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .preview-signup-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 15px;
    }

    .question-dropdown {
        margin-bottom: 0.75rem;
        border-radius: 6px;
    }

    .dropdown-header {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .dropdown-content {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .question-number {
        font-size: 0.9rem;
    }

    .question-score {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        min-width: 35px;
    }

    .points-indicator {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .full-question-text {
        font-size: 0.85rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: 100% !important;
    }

    .question-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: 100% !important;
    }

    .dropdown-header {
        flex-wrap: wrap !important;
    }

    .header-content {
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .user-answer,
    .correct-answer {
        font-size: 0.85rem;
        padding: 6px 8px !important;
        margin: 4px 0 !important;
    }

    /* Answer indicator styles for mobile */
    .answer-indicator {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 2px 4px !important;
        font-size: 1rem !important;
        font-weight: bold !important;
        flex-shrink: 0 !important;
    }

    .correct-feedback {
        color: #28a745 !important;
    }

    .incorrect-feedback {
        color: #dc3545 !important;
    }

    /* Input container padding reduction for mobile */
    .preview-results .input-container,
    .preview-results div[style*="padding: 15px"] {
        padding: 10px !important;
        margin-bottom: 15px !important;
    }

    /* Ensure answer indicators are visible and properly spaced */
    .user-answer > div {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .user-answer strong {
        margin-right: 4px !important;
    }

    /* Make indicators more prominent on mobile */
    .answer-indicator.correct-feedback {
        color: #28a745 !important;
        font-size: 1.1rem !important;
        padding: 2px 6px !important;
    }

    .answer-indicator.incorrect-feedback {
        color: #dc3545 !important;
        font-size: 1.1rem !important;
        padding: 2px 6px !important;
    }

    /* Fix multiple-select formatting for mobile */
    .answer-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-overflow: clip !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        padding: 10px 12px !important;
        margin: 5px 0 !important;
    }

    .answer-container label {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        display: block !important;
        width: 100% !important;
        flex: 1 !important;
        min-width: 0 !important;
        line-height: 1.4 !important;
    }

    .answer-container .answer-checkbox {
        flex-shrink: 0 !important;
        margin-right: 10px !important;
    }

    /* Fix KaTeX rendering in multiple-select on mobile */
    .answer-container .katex,
    .answer-container .katex-display {
        display: inline-block !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        font-size: 0.9em !important;
    }

    .answer-container .katex > .katex-html {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Fix preview-answer-option in results for mobile */
    .preview-answer-option {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-overflow: clip !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        padding: 10px 12px !important;
        margin: 5px 0 !important;
        align-items: flex-start !important;
    }

    .preview-answer-option > * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .preview-answer-option .katex,
    .preview-answer-option .katex-display {
        display: inline-block !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        font-size: 0.9em !important;
    }

    /* Ensure container wraps properly */
    .input-container[style*="flex-wrap"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Fix KaTeX rendering issues */
    .answer-container .katex-html {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .preview-answer-option .katex-html {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Ensure text doesn't overflow */
    .answer-container *,
    .preview-answer-option * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Results page styling */
.preview-score {
    text-align: center;
    margin-bottom: 20px;
}

.preview-score h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.preview-score-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.preview-question-result {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: left;
}

.preview-question-text {
    font-weight: bold;
    margin-bottom: 15px;
}

.preview-answer-option {
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.preview-back-btn {
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.preview-back-btn:hover {
    background-color: #e9ecef;
}

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

/* Dropdown styling for correct answers */
.question-dropdown {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-header {
    padding: 1rem;
    background: #f8fafc;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dropdown-header:hover {
    background: #f1f5f9;
}

.dropdown-header.open {
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.question-number {
    font-weight: 600;
    color: #333;
}

.question-score {
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.question-score.correct {
    background: #dcfce7;
    color: #166534;
}

.question-score.partial {
    background: #fef3c7;
    color: #92400e;
}

.question-score.incorrect {
    background: #fee2e2;
    color: #991b1b;
}

.dropdown-content {
    padding: 1rem;
    background: white;
    text-align: left;
}

.user-answer,
.correct-answer {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.dropdown-content .question-text,
.dropdown-content p,
.dropdown-content div:not(.user-answer):not(.correct-answer) {
    white-space: pre-wrap;
}

/* Points indicator for questions */
.points-indicator {
    background: #355070;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.points-indicator span {
    display: inline-block;
    vertical-align: middle;
}

/* Preview nav-arrow buttons */
.preview-nav-bar .nav-arrow {
    background: #ffffff;
    color: #000000;
    font-size: 1.1rem;
    border: 2px solid #000000;
    border-radius: 6px;
    width: 50px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    flex-shrink: 0;
}

.preview-nav-bar .nav-arrow:hover {
    background: #000000;
    color: #ffffff;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Style for the Results button */
.preview-nav-bar .nav-arrow.show-results {
    width: 100%;
    padding: 0 16px;
    height: 35px;
    font-size: 0.9rem;
    background: #ffffff;
    color: black;
    border: 2px solid black;
    box-sizing: border-box;
    margin: 0;
    align-self: stretch;
    text-align: center;
}

.preview-nav-bar .nav-arrow.show-results:hover {
    background: black;
    color: #ffffff;
}

/* Button styling to match main app */
.back-btn {
    padding: 14px 20px !important;
    font-size: 14px;
    background: #ffffff;
    color: black;
    border: 2px solid black;
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-btn:hover {
    background: black;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 101, 118, 0.2);
}

.score-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.score-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    text-align: center;
    margin: 0;
    font-size: 1rem;
}

/* Styling for KaTeX in dropdown headers */
.question-text {
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

/* Ensure KaTeX formulas display properly */
.katex {
    font-size: 1.1em;
    line-height: 1.2;
}

.dropdown-header .katex {
    font-size: 0.9em;
}

/* Full question text in dropdown header */
.full-question-text {
    flex: 1;
    padding-right: 15px;
    text-align: left;
    font-size: 0.95rem;
}

.full-question-text .question-number {
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}

/* Update dropdown header for full questions */
.dropdown-header {
    padding: 1rem;
    background: #f8fafc;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Update register button styling */
.register-btn {
    background: #355070 !important;
    color: white !important;
    border-color: #355070 !important;
}

.register-btn:hover {
    background: #2a3f58 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 80, 112, 0.3) !important;
}

/* Add hover animations for navigation circles */
.preview-page-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 101, 118, 0.2);
}

/* Visited circles get background change on hover */
.preview-page-circle.visited:hover {
    background: black;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 101, 118, 0.2);
}

/* Fix hover styles for active navigation circles */
.preview-page-circle.active:hover {
    background: white !important;
    color: black !important;
    border: 2px solid #000000 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3) !important;
}

/* Preview section title styling to match video section */
.preview-test-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.preview-test-section p {
    font-size: 1.2rem;
    color: #555;
    max-width: 1000px;
    margin: 0 auto 2.5rem;
}

.video-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.video-container {
    max-width: 1000px;
    height: 562px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 1100px) {
    .video-container {
        max-width: 90%;
        height: 0;
        padding-bottom: 50.625%;
        position: relative;
    }
    
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Video autoplay and play button styling */
.video-container {
    position: relative;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    width: 40px;
    height: 40px;
}