/*.content {
    top: 0;
}
*/
.text-gradient-light {
    background: linear-gradient(to bottom, #F2B500, #D50578);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-content {
    /* margin-bottom: 100px; */
}

.wrap_form_enrollment {
    border-radius: 16px;
    padding: 10px;
    background: linear-gradient(to bottom, #0F4D98, #199F5A);
    position: relative;
    float: left;
    display: block;
    width: 100%;

    &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 75%;
        transform: translate(-50%, -50%);
        background: linear-gradient(to bottom, #0F4D98, #199F5A);
        z-index: -1;
    }
}

.form_enrollment {
    padding: 32px;
    background-color: #fff;
    border-radius: 10px;
    font-size: 18px;
    line-height: 160%;
    font-weight: 400;
	float: left;
	display: block;
	width: 100%;


    .form_enrollment_title {
        font-size: 48px;
        line-height: 140%;
        font-weight: 400;
        display: flex;
        align-items: center;
        gap: 40px;
        margin-bottom: 24px;
        font-family: "Baloo", sans-serif;

        span {
            flex: 1;
            text-align: center;
        }
    }

    .required {
        color: #FD1D1D;
    }

    .text-error {
        font-size: 14px;
        color: #FD1D1D;
        line-height: 160%;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        margin-bottom: 16px;

        label {
            margin-bottom: 8px;
        }

        input,
        select,
        textarea {
            border: 1px solid #D2D2D2;
            border-radius: 8px;
            padding: 14px 16px;
            color: #333333;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            background-color: #fff;
        }

        input:hover,
        select:hover,
        textarea:hover {
            border-color: #199F5A;
        }

        input:focus,
        select:focus,
        textarea:focus {
            border-color: #0F4D98;
            box-shadow: 0 0 0 3px rgba(15, 77, 152, 0.12);
            outline: none;
        }

        input::placeholder,
        textarea::placeholder {
            color: #969696;
            opacity: 1;
        }
    }

    .resgister_bt {
        width: 100%;
        text-align: center;
        margin-top: 28px;
        float: left;
        display: flex;
        justify-content: center;
    }

    .style_button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 200px;
        padding: 12px 48px;
        border-radius: 50px !important;
        outline: none;
        border: 0;
        font-size: 18px;
        font-weight: 500;
        margin: 0 auto;
        cursor: pointer;
    }

    .list_note {
        margin-top: 20px;
		float: left;
		display: block;
		width: 100%;

        a {
            text-decoration: underline;
        }
    }
}

.wrap_list_branch {
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(to bottom, #0F4D98, #199F5A);

    .list_branch {
        background: #fff;
        padding: 24px;
        border-radius: 16px;
        text-align: center;
    }

    .title_list_branch {
        font-size: 40px;
        line-height: 160%;
        font-weight: 400;
        font-family: "Baloo", sans-serif;
        margin-bottom: 16px;
    }

    .accordion-item {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .accordion-header {
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 16px;
        border: 0;

        .accordion-button {
            background: #F8F9FA !important;
            color: #212529 !important;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 18px;
            line-height: 160%;
            font-weight: 500;
            box-shadow: none !important;
            border: 0 !important;
            cursor: pointer;

            &::after {
                transition: transform 0.35s ease !important;
            }
        }
    }

    /* Smooth collapse animation */
    .accordion-collapse.collapsing {
        transition: height 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
        overflow: hidden;
    }

    .accordion-collapse {
        transition: height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .accordion-body {
        padding: 0 0 16px 40px !important;
        background: transparent !important;
        border-radius: 8px;
        box-shadow: none !important;

        ul {
            padding-left: 0;
            list-style: none;
            width: 95%;
            margin-bottom: 0;

            li {
                display: flex;
                align-items: flex-start;
                gap: 8px;
                margin-bottom: 16px;
                text-align: left;

                &:last-child {
                    margin-bottom: 0;
                }
            }

            .dot {
                width: 8px;
                height: 8px;
                min-width: 8px;
                background: linear-gradient(to bottom, #0F4D98, #199F5A);
                border-radius: 50%;
                margin-top: 8px;
                flex-shrink: 0;
            }
        }
    }

    .branch_content {
        flex: 1;
        width: 95%;
        text-align: left;
    }
}

.footer {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .footer.about_child {
        margin-top: 40px;
        clear: both;
    }
}

@media only screen and (max-width: 1000px) {
    .main-content {
        margin-bottom: 24px;
    }

    .form_enrollment {
        padding: 16px;

        .form_enrollment_title {
            font-size: 35px;

            img {
                width: 130px;
            }
        }

        .form-group {
            margin-bottom: 8px;
        }

        .resgister_bt {
            margin-top: 16px;
        }

        .style_button {
            margin-top: 0;
        }
    }

    .wrap_list_branch {
        .list_branch {
            padding: 16px;
        }

        .title_list_branch {
            font-size: 30px;
        }

        .accordion-body {
            ul li {
                flex-direction: column;
                align-items: flex-start;
            }
        }
    }

    .content_ct {
        padding: 30px 0 0;
    }
}


@media only screen and (max-width: 570px) {
    .form_enrollment {
        .form_enrollment_title {
            flex-direction: column;
            font-size: 32px;
            gap: 30px;

            img {
                width: 233px;
            }
        }

        .style_button {
            width: 100%;
            max-width: 320px;
        }
    }

    .wrap_list_branch {
        .title_list_branch {
            font-size: 24px;
        }
    }
}
.wrap_form_ct {
    background-color: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e7edf3;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.wrap_form_enrollment_row {
    display: block;
    width: 100%;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e2e8f0;
    box-sizing: border-box;
}

.wrap_form_enrollment_row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wrap_form_enrollment_title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #0F4D98 0%, #199F5A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    width: 100%;
}

.wrap_form_enrollment_row_img {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    counter-reset: doc-page;
}

.wrap_form_enrollment_row_img.has-zoomed,
.wrap_form_enrollment_row_img:has(.zoomed) {
    overflow: visible !important;
}

.wrap_form_enrollment_row_col {
    flex: 0 0 240px;
    max-width: 255px;
    width: 240px;
    margin: 0;
    display: block;
    position: relative;
    border-radius: 8px;
    counter-increment: doc-page;
    box-sizing: border-box;
}

.wrap_form_enrollment_row_col img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: zoom-in;
    background: #ffffff;
}

.wrap_form_enrollment_row_col img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 77, 152, 0.15);
}

.wrap_form_ct_link {
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
}

.wrap_form_ct_link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0F4D98;
    background: #f0f6fd;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d0e3f7;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wrap_form_ct_link a::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230F4D98'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14l-5-5 1.41-1.41L11 13.17V7h2v6.17l2.59-2.58L17 12l-5 5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    flex-shrink: 0;
}

.wrap_form_ct_link a:hover {
    background: #0F4D98;
    color: #ffffff;
    border-color: #0F4D98;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 77, 152, 0.2);
}

.wrap_form_ct_link a:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14l-5-5 1.41-1.41L11 13.17V7h2v6.17l2.59-2.58L17 12l-5 5z'/%3E%3C/svg%3E");
}

/* Document Preview Carousel Container & Nav Buttons */
.wrap_doc_carousel_container {
    position: relative;
    width: 100%;
}
.doc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0;
}
.doc-nav-btn:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%);
}
.doc-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.doc-nav-btn.is-disabled {
    opacity: 0.25;
    pointer-events: none;
    box-shadow: none;
}
.doc-nav-prev {
    left: -12px;
}
.doc-nav-next {
    right: -12px;
}

/* Fullscreen Zoomify Next / Prev Navigation Overlay - Default Lightbox Style */
.zoomify-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000005;
    display: none;
}
.zoomify-nav-overlay.active {
    display: block;
}
.zoomify-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.15s ease;
}
.zoomify-nav-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.05);
}
.zoomify-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.zoomify-nav-prev {
    left: 20px;
}
.zoomify-nav-next {
    right: 20px;
}
.zoomify-nav-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 14px;
    pointer-events: auto;
    letter-spacing: 0.5px;
}

/* Tablet Layout (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .wrap_form_enrollment_row_col {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        width: calc(50% - 10px);
    }
}

/* Mobile Layout (< 768px): Horizontal Swipeable Carousel */
@media only screen and (max-width: 767px) {
    .doc-nav-btn {
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    }
    .doc-nav-prev {
        left: -4px;
    }
    .doc-nav-next {
        right: -4px;
    }
    .zoomify-nav-btn {
        width: 38px;
        height: 38px;
    }
    .zoomify-nav-prev {
        left: 10px;
    }
    .zoomify-nav-next {
        right: 10px;
    }
    .zoomify-nav-counter {
        bottom: 14px;
        font-size: 12px;
        padding: 3px 12px;
    }
    .wrap_form_ct {
        padding: 16px 12px !important;
        border-radius: 14px !important;
    }

    .wrap_form_enrollment_row {
        background: #fbfcfe;
        border-radius: 14px;
        padding: 16px 14px;
        margin-bottom: 20px;
        border: 1px solid #e7edf3;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }

    .wrap_form_enrollment_title {
        font-size: 16px !important;
        line-height: 1.45 !important;
        margin-bottom: 12px !important;
    }


    .wrap_form_enrollment_row_img {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        padding: 4px 2px 14px 2px !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        scrollbar-width: thin;
        scrollbar-color: #0F4D98 #edf2f7;
    }

    .wrap_form_enrollment_row_img::-webkit-scrollbar {
        height: 5px;
    }
    .wrap_form_enrollment_row_img::-webkit-scrollbar-track {
        background: #edf2f7;
        border-radius: 4px;
    }
    .wrap_form_enrollment_row_img::-webkit-scrollbar-thumb {
        background: #0F4D98;
        border-radius: 4px;
    }

    .wrap_form_enrollment_row_col {
        flex: 0 0 84% !important;
        max-width: 84% !important;
        width: 84% !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        margin: 0 !important;
        position: relative !important;
    }

    .wrap_form_enrollment_row_col:only-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .wrap_form_enrollment_row_col img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 10px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07) !important;
    }

    /* Page number indicator on mobile */
    .wrap_form_enrollment_row_col::after {
        content: "Trang " counter(doc-page);
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: rgba(15, 77, 152, 0.88);
        color: #ffffff;
        font-size: 11px;
        font-weight: 600;
        padding: 3px 8px;
        border-radius: 6px;
        pointer-events: none;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }
    body.lang-ja .wrap_form_enrollment_row_col::after {
        content: "ページ " counter(doc-page);
    }
    .wrap_form_enrollment_row_col:only-child::after {
        display: none !important;
    }

    .wrap_form_ct_link {
        margin-top: 6px !important;
        margin-bottom: 2px !important;
    }

    .wrap_form_ct_link a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
    }
}

.list_branch_content ul {
    margin-bottom: 0;
}
.list_branch_content ul li .text-gradient-light {
    background: linear-gradient(to right, #F2B500, #D50578);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.progam_content{
	background: #fff;
	padding: 24px;
}