﻿.btn-register-home {
    border-radius: 5px;
    display: inline-block;
    color: var(--color-text-button);
    background: var(--color-primary);
    padding: 15px 100px;
    font-size: 18px;
    font-weight: 700;
    transition: 0.4s;
    font-family: var(--font-primary);
    border: 0 none;
}

    .btn-register-home:hover {
        transform: translateY(-5px);
        background: var(--color-dark);
        color: var(--color-white);
    }

.group-gender-home {
    height: 50px;
    align-items: center;
}

.checkout-page-style input[type="submit"] {
    background: var(--color-primary);
}

.form-change-password i {
    margin-left: -30px;
    cursor: pointer;
}

.checkout-page-style input::placeholder {
    color: #ccc;
}

.wp-account-info .invalid-feedback {
    display: none;
    width: 100%;
    font-size: 15px;
    color: #dc3545;
}

.wp-account-info .form-control:focus {
    box-shadow: none;
}

#myModal .modal-header {
    padding: 10px 20px;
    border: none;
}

    #myModal .modal-header h5 {
        padding-bottom: 10px;
        border-bottom: 3px solid var(--color-primary);
    }

#myModal .modal-body {
    padding: 0 20px 30px 20px;
}

.star {
    background-image: url('/assets/images/icons/star.png');
    background-position: left -2px;
    display: block;
    width: 20px;
    height: 16px;
    line-height: 16px;
    float: left;
    cursor: pointer;
    zoom: 1
}

.fullStar {
    background-position: left -59px
}

.fullStar-hover {
    background-position: left -59px
}

.stars {
    overflow: hidden
}

#course-of-account {
    overflow: hidden;
}

#myModal.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    display: none;
    width: 100%;
    max-width: 900px;
    height: auto;
    outline: 0;
    overflow: hidden;
    border-radius: 10px;
    padding-right: 0 !important;
}

    #myModal.modal .modal-dialog {
        max-width: 100%;
    }

    #myModal.modal .modal-fullscreen .modal-body {
        overflow: hidden;
    }

.btn-show-comment {
    cursor: pointer;
    display: inline-block;
}

#video-intro-home {
    width: 100%;
    display: none;
}

#youtubePlayer {
    width: 100%;
    min-height: 500px;
    height: auto;
    display: none;
}

tld-config-bg-event #youtubePlayer {
    width: 100%;
    min-height: 300px;
    height: auto;
    display: none;
}

@media (max-width: 575px) {
    #youtubePlayer {
        min-height: 260px;
    }
}

.box-loading-list-course {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15px;
}

    .box-loading-list-course .item-loading {
        width: 32%;
        position: relative;
        height: 500px;
        background: linear-gradient(45deg, #f3f3f3 25%, #ececec 50%, #f3f3f3 75%);
        background-size: 400% 400%;
        animation: shimmer 5s infinite linear;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

#menu-button-content .edu-course-widget {
    padding: 10px;
}

@media (max-width: 992px) {
    #menu-button-content .edu-course-widget {
        padding: 0;
    }
}

.image-document {
    width: 50px;
}

.btn-download-document {
    padding: 3px 5px;
    cursor: pointer;
    border: 1px solid var(--color-primary);
}

.btn-join-group-document {
    padding: 2px 6px;
    text-transform: uppercase;
    color: var(--color-text-button);
    background: var(--color-primary);
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid var(--color-primary);
    transition: 0.3s ease-in-out;
    text-align: center;
}

    .btn-join-group-document:hover {
        color: var(--color-primary);
        background: var(--color-text-button);
    }

.btn-download-document.btn-join-group-document:hover {
    color: var(--color-text-button);
    background: var(--color-primary);
}

.btn-join-group-document span {
    color: var(--color-text-button);
    font-size: 12px;
}

/* Animation for shimmering effect */
@keyframes shimmer {
    0% {
        background-position: -400% 0;
    }

    100% {
        background-position: 400% 0;
    }
}

@media (max-width: 767px) {
    .box-loading-list-course .item-loading {
        width: 48%;
    }
}

@media (max-width: 575px) {
    .box-loading-list-course .item-loading {
        width: 100%;
    }

    .edu-section-gap {
        padding-top: 10px !important;
    }

    .box-d-none-mb {
        display: none !important;
    }
}


/* GRID */

.document-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

/* CARD */

.document-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .document-card:hover {
        transform: translateY(-5px);
    }

/* IMAGE */
.doc-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

    .doc-img img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    }

/* CONTENT */

.doc-content {
    padding: 18px;
}

.doc-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.doc-content .date-active {
    font-size: 13px;
    color: #808080;
    text-align: end;
}

/* BUTTON */
.doc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-webinar {
    max-width: 1500px;
    padding: 0 10px;
    margin: 0 auto;
}

.timer-end-course {
    color: var(--color-primary);
}

.box-webinar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 30px;
}

    .box-webinar .box-right {
        width: 25%;
    }

    .box-webinar .box-center {
        padding: 0 10px;
        width: 75%;
    }

    .box-webinar .eduvibe-sidebar.course-details-sidebar .eduvibe-widget .eduvibe-widget-details {
        padding: 0;
    }

    .box-webinar .eduvibe-sidebar.course-details-sidebar {
        margin: 0;
        padding: 0;
    }

    .box-webinar .box-center h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .box-webinar .box-thumb-video, .box-webinar .wp-video-course {
        width: 100%;
        aspect-ratio: 16 / 9;
        position: relative;
        overflow: hidden;
    }

        .box-webinar .box-thumb-video img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .box-webinar .box-thumb-video .icon {
            position: absolute;
            top: 50%;
            left: 50%;
            padding: 20px;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            background-color: var(--color-primary);
            color: #fff;
            width: 90px;
            height: 90px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 50px;
            cursor: pointer;
        }

    .box-webinar .box-price-course .label-custom-price {
        padding: 5px;
    }

    .box-webinar .box-price-course .box-price-course-left {
        width: 100%;
    }

        .box-webinar .box-price-course .box-price-course-left span {
            display: inline-block;
        }

    .box-webinar .box-tab-chapter {
        padding: 10px 0;
        width: 100%;
        overflow-x: auto;
    }

        .box-webinar .box-tab-chapter .list-tab-chapter {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            width: fit-content;
            margin: 0 auto;
        }

            .box-webinar .box-tab-chapter .list-tab-chapter .chapter-item {
                padding: 5px 10px;
                min-width: 70px;
                background-color: #fff;
                color: var(--color-primary);
                border: 1px solid var(--color-primary);
                border-right: none;
                overflow: hidden;
                cursor: pointer;
                transition: ease-in-out 0.3s;
            }

                .box-webinar .box-tab-chapter .list-tab-chapter .chapter-item:last-child {
                    border-right: 1px solid var(--color-primary);
                    border-radius: 0 15px 15px 0;
                }

                .box-webinar .box-tab-chapter .list-tab-chapter .chapter-item:first-child {
                    border-radius: 15px 0 0 15px;
                }

                .box-webinar .box-tab-chapter .list-tab-chapter .chapter-item.active, .box-webinar .box-tab-chapter .list-tab-chapter .chapter-item:hover {
                    background-color: var(--color-primary);
                    color: #fff;
                }


    .box-webinar .timeline-wrapper {
        width: 100%;
        position: relative;
        padding-top: 60px;
        display: none;
    }

    .box-webinar .timeline-line {
        height: 4px;
        background: #cfcfcf;
        position: relative;
        border-radius: 20px;
    }

.error-message-summary {
    color: red;
    font-style: italic;
}

.note-timeline {
    text-align: center;
    font-size: 16px;
    color: #888;
    font-style: italic;
    margin-bottom: 0px;
    padding: 5px;
}

/* Marker */
.box-webinar .timeline-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    position: absolute;
    bottom: -8px;
    transform: translateX(-50%);
    display: none;
    cursor: pointer;
}

    /* Popup */
    .box-webinar .timeline-popup {
        position: absolute;
        bottom: 18px;
        left: 50%;
        translate: -50% 0;
        display: none;
        white-space: nowrap;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid var(--color-primary);
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    }

        /* Sát trái */
        .box-webinar .timeline-popup.popup-left {
            left: 0;
            translate: 0 0;
        }

        /* Sát phải */
        .box-webinar .timeline-popup.popup-right {
            left: auto;
            right: 0;
            translate: 0 0;
        }

        .box-webinar .timeline-popup button {
            border: none;
            cursor: pointer;
            font-weight: 600;
            font-size: 12px;
        }

            .box-webinar .timeline-popup button.more-btn {
                padding: 10px 4px;
            }
            .box-webinar .timeline-popup button.buy-btn {
                padding: 10px 17px;
            }

    .box-webinar .buy-btn {
        background: var(--color-primary);
        color: #fff;
    }

    .box-webinar .more-btn {
        background: #fff;
        color: var(--color-primary);
    }

    .box-webinar .timeline-item {
        position: absolute;
        bottom: 0;
    }

#webinarProductModal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    padding: 10px;
}

#webinarProductModal .modal-header {
    border: none;
    padding-bottom: 0;
}

#webinarProductModal .btn-close {
    box-shadow: none;
    opacity: 1;
}

#webinarProductModal .modal-body {
    padding-top: 0;
    text-align: center;
}

#webinarProductModal .label-product-name {
    margin-bottom: 8px;
    color: #888;
    font-size: 15px;
    font-weight: 500;
}

#webinarProductModal .product-name {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.5;
}

#webinarProductModal .product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 25px;
}

#webinarProductModal .price-text {
    font-size: 26px;
    font-weight: 800;
    color: #ff6b1a;
    line-height: 1;
}

#webinarProductModal .price-type {
    font-size: 20px;
    color: #777;
    padding-bottom: 3px;
}

#webinarProductModal .rn-btn.edu-btn {
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
}

.wp-webinar-theme03 {
    padding: 130px 0;
}

/* RESPONSIVE */
@media(max-width:1200px) {
    .box-webinar .box-right {
        width: 100%;
    }

    .box-webinar .box-center {
        padding: 0 0 20px 0;
        width: 100%;
    }
}

@media(max-width:992px) {
    .document-list {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:600px) {

    .document-list {
        grid-template-columns: 1fr;
    }

    .doc-img img {
        height: 160px;
    }
}
