#tab-ultra_course .ultra-course-front .main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#tab-ultra_course .ultra-course-front .main-info p {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(235, 235, 235, 1) 100%);
    flex: 1 1 200px;
    border-radius: 8px;
    padding: 10px;
    margin: 0 0 10px;
}

#tab-ultra_course .accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    width: 100%;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    margin-bottom: 5px;
    color: #111;
    cursor: pointer;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#tab-ultra_course .accordion-toggle::after {
    content: '‹';
    font-size: 24px;
    line-height: 1;
    transition: transform .18s ease;
}

#tab-ultra_course .accordion-toggle.open::after {
    transform: rotate(-90deg);
}

#tab-ultra_course button {
    outline: none;
}

#tab-ultra_course .accordion-content {
    display: none;
    padding: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(235, 235, 235, 1) 100%);
    border-radius: 12px;
    margin-bottom: 10px;
}

#tab-ultra_course .lesson-list {
    padding: 0;
    margin: 0;
}

#tab-ultra_course .lesson-list li {
    list-style: none;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

#tab-ultra_course .play-video-btn {
    font-size: 15px;
    padding: 11px 16px;
    font-weight: 500;
    background: #7a7f86;
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: .6em;
    cursor: pointer;
    white-space: nowrap;
}

#tab-ultra_course .gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: .6em;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, .3));
}

#tab-ultra_course .label {
    position: relative;
    z-index: 2;
}

#tab-ultra_course .transition {
    transition: width 500ms cubic-bezier(0, 0, .2, 1), height 500ms cubic-bezier(0, 0, .2, 1);
    background-color: rgba(19, 88, 205, .6);
    border-radius: 9999px;
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#tab-ultra_course .play-video-btn:hover .transition {
    width: 14em;
    height: 14em;
}

#tab-ultra_course .play-video-btn:active {
    transform: scale(.97);
}

#tab-ultra_course .lesson-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 8px;
}

#tab-ultra_course .info {
    flex: 1;
    min-width: 0;
}

#tab-ultra_course .info > p {
    background: #eaeaea;
    padding: 7px 9px;
    border-radius: 8px;
    width: 100%;
    margin: 7px 0 0;
}

#tab-ultra_course .video-locked,
#tab-ultra_course .video-unavailable {
    color: #8a1c1c;
    background: #fceaea;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
}

#tab-ultra_course .video-unavailable {
    color: #555;
    background: #f2f2f2;
}

#ultra-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .68);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

#ultra-video-modal[style*="display: block"] {
    display: flex !important;
}

#ultra-video-modal .modal-overlay {
    position: absolute;
    inset: 0;
}

#ultra-video-modal .modal-content {
    background: #fff;
    padding: 14px;
    z-index: 2;
    border-radius: 10px;
    position: relative;
    max-width: 850px;
    width: min(92%, 850px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .35);
}

#ultra-video-modal #modal-video {
    display: block;
    width: 100%;
    max-height: 78vh;
    border-radius: 6px;
    background: #000;
}

#ultra-video-modal .modal-close {
    position: absolute;
    top: -42px;
    left: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 680px) {
    #tab-ultra_course .lesson-list li {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    #tab-ultra_course .play-video-btn,
    #tab-ultra_course .video-locked,
    #tab-ultra_course .video-unavailable {
        width: 100%;
        text-align: center;
    }
}
