.dtt-container {
    display: grid;
    /* flex-wrap: wrap; */
    grid-template-columns: 70% 30%;
    gap: 20px;
    max-width: 100%;
}

.dtt-left {
}

.dtt-right {
    display: flex;
    flex-direction: column;
    max-height: calc((100vw - 40px) * 0.5625); /* matches video height */
    overflow: hidden;
}

@media screen and (max-width: 991px) {
    .dtt-container {
        grid-template-columns: 100%;
    }

    .dtt-left,
    .dtt-right {
        flex: 1 0 100%;
        width: 100%;
    }
}

.dtt-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 10px;
}

.dtt-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dtt-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dtt-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
}

.dtt-header {
    margin-bottom: 10px;
}

.dtt-header-button {
    width: 100%;
    padding: 12px;
    background-color: #00aaff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

.dtt-test-list {
    overflow-y: auto;
    flex-grow: 1;
}

.dtt-test-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
    /* cursor: pointer; */
}

.dtt-test-item:hover,
.dtt-test-item.is-active {
    background-color: #00aaff;
    color: #fff;
}

.dtt-test-item video {
    max-height: 60px;
    width: auto;
}

.dtt-test-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.dtt-test-item span {
    font-size: 18px;
}

.dtt-flags-container {
    position: relative;
    /* margin: 10px; */
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    min-height: 30px;
}

.dtt-flag {
    display: block;
    width: 15px;
    height: 25px;
    background-image: url("../images/flag.svg");
    background-size: cover;
    background-position: center;
    margin-bottom: 5px;
    position: absolute;
    top: 0;
}

.dtt-video-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff !important;
    z-index: 99;
    cursor: pointer;
}

.dtt-video-overlay-end {
    background-color: rgba(0, 0, 0, 1);
}

.dtt-video-overlay h3 {
    color: #fff;
}

.dtt-test-result-test.is-success {
    color: #61ce70;
}

.dtt-test-result-test.is-failure {
    color: #da0406;
}

.dtt-button {
    border: 2px solid #00aaff;
    color: #fff;
    background-color: #00aaff;
    padding: 10px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}

.dtt-button:hover {
    background-color: #fff;
    color: #00aaff;
    border: 2px solid #fff;
}

.dtt-test-result-buttons {
    display: flex;
    flex-flow: row wrap;
    column-gap: 10px;
}

[v-cloak] {
    display: none;
}

.dtt-progress-wrapper {
    padding: 10px 0 10px 0;
    position: relative;
    margin-bottom: 10px;
}

.dtt-progress-container {
    width: 100%;
    height: 10px;
    background-color: #eee;
    position: relative;
    border-radius: 12px;
    /* margin-top: 8px; */
    /* margin: 8px auto 0; */
}

.dtt-progress-bar {
    height: 10px;
    background-color: #00aaff;
    width: 0%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: width 0.2s linear;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.dtt-progress-cursor {
    width: 4px;
    height: 20px;
    background-color: #333;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0px, -50%);
    transition: left 0.2s linear;
    border-radius: 8px;
    z-index: 2;
}

.dtt-score-overlay {
    height: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 80px;
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

.dtt-score-segment {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    height: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    flex: 1 0 20%;
    max-width: 20%;
}

@media screen and (max-width: 768px) {
    .dtt-score-segment {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10px;
    }
}

.dtt-score-segment:nth-of-type(1) {
    background: #3c7b2b;
}

.dtt-score-segment:nth-of-type(2) {
    background: #5a9e3f;
}

.dtt-score-segment:nth-of-type(3) {
    background: #899c49;
}

.dtt-score-segment:nth-of-type(4) {
    background: #ab6c33;
}

.dtt-score-segment:nth-of-type(5) {
    background: #ea3a2d;
}

/**************************\
  Basic Modal Styles
\**************************/

.modal {
    font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
        helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial,
        sans-serif;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.modal__container {
    background-color: #fff;
    padding: 25px;
    max-width: 500px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .modal__container {
        max-width: 95%;
        padding: 20px;
    }
}

.modal__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal__title {
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 600;
    /* font-size: 1.25rem; */
    /* line-height: 1.25; */
    color: #DA0406;
    box-sizing: border-box;
}

.modal__close {
    background: transparent;
    border: 0;
}

.modal__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal__header .modal__close:before {
    content: "\2715";
}

.modal__content {
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
}

.modal__btn {
    font-size: 0.875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    border-radius: 0.25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.modal__btn-primary {
    background-color: #00449e;
    color: #fff;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}