/* 基本樣式 */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    max-width: 100%; /* 可根據需求調整 */
    box-sizing: border-box;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col {
    flex: 1 0 0%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* 12格系統 */
.col-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* 響應式斷點 */
@media (min-width: 576px) {
    .col-sm-1 { flex: 0 0 8.333%; max-width: 8.333%; }
    .col-sm-2 { flex: 0 0 16.666%; max-width: 16.666%; }
    .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
    .col-sm-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-sm-5 { flex: 0 0 41.666%; max-width: 41.666%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .col-sm-8 { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
    .col-sm-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-sm-11 { flex: 0 0 91.666%; max-width: 91.666%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.333%; max-width: 8.333%; }
    .col-md-2 { flex: 0 0 16.666%; max-width: 16.666%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-5 { flex: 0 0 41.666%; max-width: 41.666%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-md-11 { flex: 0 0 91.666%; max-width: 91.666%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 8.333%; max-width: 8.333%; }
    .col-lg-2 { flex: 0 0 16.666%; max-width: 16.666%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-lg-5 { flex: 0 0 41.666%; max-width: 41.666%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-lg-11 { flex: 0 0 91.666%; max-width: 91.666%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
    .col-xl-1 { flex: 0 0 8.333%; max-width: 8.333%; }
    .col-xl-2 { flex: 0 0 16.666%; max-width: 16.666%; }
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    .col-xl-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-xl-5 { flex: 0 0 41.666%; max-width: 41.666%; }
    .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
    .col-xl-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .col-xl-8 { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
    .col-xl-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-xl-11 { flex: 0 0 91.666%; max-width: 91.666%; }
    .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 768px) {
    .mt-md-0 {
        margin-top: 0 !important;
    }

    .flex-md-row {
        flex-direction: row !important;
    }
}

@media (min-width: 1200px) {
    .pb-xl-0 {
        padding-bottom: 0 !important;
    }
}

/* Container Classes */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

.container-fluid {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Width Classes */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

/* Height Classes */
.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

/* Margin Classes */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

/* Padding Classes */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 0.25rem !important; }
.ps-2 { padding-left: 0.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }

.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: 0.25rem !important; }
.pe-2 { padding-right: 0.5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.pe-5 { padding-right: 3rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* Responsive Margin & Padding */
@media (min-width: 576px) {
    /* Margins */
    .m-sm-0 { margin: 0 !important; }
    .m-sm-1 { margin: 0.25rem !important; }
    .m-sm-2 { margin: 0.5rem !important; }
    .m-sm-3 { margin: 1rem !important; }
    .m-sm-4 { margin: 1.5rem !important; }
    .m-sm-5 { margin: 3rem !important; }

    .mt-sm-0 { margin-top: 0 !important; }
    .mt-sm-1 { margin-top: 0.25rem !important; }
    .mt-sm-2 { margin-top: 0.5rem !important; }
    .mt-sm-3 { margin-top: 1rem !important; }
    .mt-sm-4 { margin-top: 1.5rem !important; }
    .mt-sm-5 { margin-top: 3rem !important; }

    .mb-sm-0 { margin-bottom: 0 !important; }
    .mb-sm-1 { margin-bottom: 0.25rem !important; }
    .mb-sm-2 { margin-bottom: 0.5rem !important; }
    .mb-sm-3 { margin-bottom: 1rem !important; }
    .mb-sm-4 { margin-bottom: 1.5rem !important; }
    .mb-sm-5 { margin-bottom: 3rem !important; }

    .ms-sm-0 { margin-left: 0 !important; }
    .ms-sm-1 { margin-left: 0.25rem !important; }
    .ms-sm-2 { margin-left: 0.5rem !important; }
    .ms-sm-3 { margin-left: 1rem !important; }
    .ms-sm-4 { margin-left: 1.5rem !important; }
    .ms-sm-5 { margin-left: 3rem !important; }

    .me-sm-0 { margin-right: 0 !important; }
    .me-sm-1 { margin-right: 0.25rem !important; }
    .me-sm-2 { margin-right: 0.5rem !important; }
    .me-sm-3 { margin-right: 1rem !important; }
    .me-sm-4 { margin-right: 1.5rem !important; }
    .me-sm-5 { margin-right: 3rem !important; }

    .mx-sm-0 { margin-left: 0 !important; margin-right: 0 !important; }
    .mx-sm-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
    .mx-sm-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
    .mx-sm-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
    .mx-sm-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
    .mx-sm-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

    .my-sm-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
    .my-sm-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
    .my-sm-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
    .my-sm-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
    .my-sm-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
    .my-sm-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

    /* Paddings */
    .p-sm-0 { padding: 0 !important; }
    .p-sm-1 { padding: 0.25rem !important; }
    .p-sm-2 { padding: 0.5rem !important; }
    .p-sm-3 { padding: 1rem !important; }
    .p-sm-4 { padding: 1.5rem !important; }
    .p-sm-5 { padding: 3rem !important; }

    .pt-sm-0 { padding-top: 0 !important; }
    .pt-sm-1 { padding-top: 0.25rem !important; }
    .pt-sm-2 { padding-top: 0.5rem !important; }
    .pt-sm-3 { padding-top: 1rem !important; }
    .pt-sm-4 { padding-top: 1.5rem !important; }
    .pt-sm-5 { padding-top: 3rem !important; }

    .pb-sm-0 { padding-bottom: 0 !important; }
    .pb-sm-1 { padding-bottom: 0.25rem !important; }
    .pb-sm-2 { padding-bottom: 0.5rem !important; }
    .pb-sm-3 { padding-bottom: 1rem !important; }
    .pb-sm-4 { padding-bottom: 1.5rem !important; }
    .pb-sm-5 { padding-bottom: 3rem !important; }

    .ps-sm-0 { padding-left: 0 !important; }
    .ps-sm-1 { padding-left: 0.25rem !important; }
    .ps-sm-2 { padding-left: 0.5rem !important; }
    .ps-sm-3 { padding-left: 1rem !important; }
    .ps-sm-4 { padding-left: 1.5rem !important; }
    .ps-sm-5 { padding-left: 3rem !important; }

    .pe-sm-0 { padding-right: 0 !important; }
    .pe-sm-1 { padding-right: 0.25rem !important; }
    .pe-sm-2 { padding-right: 0.5rem !important; }
    .pe-sm-3 { padding-right: 1rem !important; }
    .pe-sm-4 { padding-right: 1.5rem !important; }
    .pe-sm-5 { padding-right: 3rem !important; }

    .px-sm-0 { padding-left: 0 !important; padding-right: 0 !important; }
    .px-sm-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
    .px-sm-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    .px-sm-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .px-sm-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .px-sm-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

    .py-sm-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .py-sm-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
    .py-sm-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
    .py-sm-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-sm-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .py-sm-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 768px) {
    /* Margins */
    .m-md-0 { margin: 0 !important; }
    .m-md-1 { margin: 0.25rem !important; }
    .m-md-2 { margin: 0.5rem !important; }
    .m-md-3 { margin: 1rem !important; }
    .m-md-4 { margin: 1.5rem !important; }
    .m-md-5 { margin: 3rem !important; }

    .mt-md-0 { margin-top: 0 !important; }
    .mt-md-1 { margin-top: 0.25rem !important; }
    .mt-md-2 { margin-top: 0.5rem !important; }
    .mt-md-3 { margin-top: 1rem !important; }
    .mt-md-4 { margin-top: 1.5rem !important; }
    .mt-md-5 { margin-top: 3rem !important; }

    .mb-md-0 { margin-bottom: 0 !important; }
    .mb-md-1 { margin-bottom: 0.25rem !important; }
    .mb-md-2 { margin-bottom: 0.5rem !important; }
    .mb-md-3 { margin-bottom: 1rem !important; }
    .mb-md-4 { margin-bottom: 1.5rem !important; }
    .mb-md-5 { margin-bottom: 3rem !important; }

    .ms-md-0 { margin-left: 0 !important; }
    .ms-md-1 { margin-left: 0.25rem !important; }
    .ms-md-2 { margin-left: 0.5rem !important; }
    .ms-md-3 { margin-left: 1rem !important; }
    .ms-md-4 { margin-left: 1.5rem !important; }
    .ms-md-5 { margin-left: 3rem !important; }

    .me-md-0 { margin-right: 0 !important; }
    .me-md-1 { margin-right: 0.25rem !important; }
    .me-md-2 { margin-right: 0.5rem !important; }
    .me-md-3 { margin-right: 1rem !important; }
    .me-md-4 { margin-right: 1.5rem !important; }
    .me-md-5 { margin-right: 3rem !important; }

    .mx-md-0 { margin-left: 0 !important; margin-right: 0 !important; }
    .mx-md-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
    .mx-md-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
    .mx-md-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
    .mx-md-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
    .mx-md-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

    .my-md-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
    .my-md-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
    .my-md-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
    .my-md-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
    .my-md-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
    .my-md-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

    /* Paddings */
    .p-md-0 { padding: 0 !important; }
    .p-md-1 { padding: 0.25rem !important; }
    .p-md-2 { padding: 0.5rem !important; }
    .p-md-3 { padding: 1rem !important; }
    .p-md-4 { padding: 1.5rem !important; }
    .p-md-5 { padding: 3rem !important; }

    .pt-md-0 { padding-top: 0 !important; }
    .pt-md-1 { padding-top: 0.25rem !important; }
    .pt-md-2 { padding-top: 0.5rem !important; }
    .pt-md-3 { padding-top: 1rem !important; }
    .pt-md-4 { padding-top: 1.5rem !important; }
    .pt-md-5 { padding-top: 3rem !important; }

    .pb-md-0 { padding-bottom: 0 !important; }
    .pb-md-1 { padding-bottom: 0.25rem !important; }
    .pb-md-2 { padding-bottom: 0.5rem !important; }
    .pb-md-3 { padding-bottom: 1rem !important; }
    .pb-md-4 { padding-bottom: 1.5rem !important; }
    .pb-md-5 { padding-bottom: 3rem !important; }

    .ps-md-0 { padding-left: 0 !important; }
    .ps-md-1 { padding-left: 0.25rem !important; }
    .ps-md-2 { padding-left: 0.5rem !important; }
    .ps-md-3 { padding-left: 1rem !important; }
    .ps-md-4 { padding-left: 1.5rem !important; }
    .ps-md-5 { padding-left: 3rem !important; }

    .pe-md-0 { padding-right: 0 !important; }
    .pe-md-1 { padding-right: 0.25rem !important; }
    .pe-md-2 { padding-right: 0.5rem !important; }
    .pe-md-3 { padding-right: 1rem !important; }
    .pe-md-4 { padding-right: 1.5rem !important; }
    .pe-md-5 { padding-right: 3rem !important; }

    .px-md-0 { padding-left: 0 !important; padding-right: 0 !important; }
    .px-md-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
    .px-md-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    .px-md-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .px-md-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .px-md-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

    .py-md-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .py-md-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
    .py-md-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
    .py-md-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-md-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .py-md-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 992px) {
    /* Margins */
    .m-lg-0 { margin: 0 !important; }
    .m-lg-1 { margin: 0.25rem !important; }
    .m-lg-2 { margin: 0.5rem !important; }
    .m-lg-3 { margin: 1rem !important; }
    .m-lg-4 { margin: 1.5rem !important; }
    .m-lg-5 { margin: 3rem !important; }

    .mt-lg-0 { margin-top: 0 !important; }
    .mt-lg-1 { margin-top: 0.25rem !important; }
    .mt-lg-2 { margin-top: 0.5rem !important; }
    .mt-lg-3 { margin-top: 1rem !important; }
    .mt-lg-4 { margin-top: 1.5rem !important; }
    .mt-lg-5 { margin-top: 3rem !important; }

    .mb-lg-0 { margin-bottom: 0 !important; }
    .mb-lg-1 { margin-bottom: 0.25rem !important; }
    .mb-lg-2 { margin-bottom: 0.5rem !important; }
    .mb-lg-3 { margin-bottom: 1rem !important; }
    .mb-lg-4 { margin-bottom: 1.5rem !important; }
    .mb-lg-5 { margin-bottom: 3rem !important; }

    .ms-lg-0 { margin-left: 0 !important; }
    .ms-lg-1 { margin-left: 0.25rem !important; }
    .ms-lg-2 { margin-left: 0.5rem !important; }
    .ms-lg-3 { margin-left: 1rem !important; }
    .ms-lg-4 { margin-left: 1.5rem !important; }
    .ms-lg-5 { margin-left: 3rem !important; }

    .me-lg-0 { margin-right: 0 !important; }
    .me-lg-1 { margin-right: 0.25rem !important; }
    .me-lg-2 { margin-right: 0.5rem !important; }
    .me-lg-3 { margin-right: 1rem !important; }
    .me-lg-4 { margin-right: 1.5rem !important; }
    .me-lg-5 { margin-right: 3rem !important; }

    .mx-lg-0 { margin-left: 0 !important; margin-right: 0 !important; }
    .mx-lg-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
    .mx-lg-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
    .mx-lg-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
    .mx-lg-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
    .mx-lg-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

    .my-lg-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
    .my-lg-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
    .my-lg-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
    .my-lg-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
    .my-lg-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
    .my-lg-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

    /* Paddings */
    .p-lg-0 { padding: 0 !important; }
    .p-lg-1 { padding: 0.25rem !important; }
    .p-lg-2 { padding: 0.5rem !important; }
    .p-lg-3 { padding: 1rem !important; }
    .p-lg-4 { padding: 1.5rem !important; }
    .p-lg-5 { padding: 3rem !important; }

    .pt-lg-0 { padding-top: 0 !important; }
    .pt-lg-1 { padding-top: 0.25rem !important; }
    .pt-lg-2 { padding-top: 0.5rem !important; }
    .pt-lg-3 { padding-top: 1rem !important; }
    .pt-lg-4 { padding-top: 1.5rem !important; }
    .pt-lg-5 { padding-top: 3rem !important; }

    .pb-lg-0 { padding-bottom: 0 !important; }
    .pb-lg-1 { padding-bottom: 0.25rem !important; }
    .pb-lg-2 { padding-bottom: 0.5rem !important; }
    .pb-lg-3 { padding-bottom: 1rem !important; }
    .pb-lg-4 { padding-bottom: 1.5rem !important; }
    .pb-lg-5 { padding-bottom: 3rem !important; }

    .ps-lg-0 { padding-left: 0 !important; }
    .ps-lg-1 { padding-left: 0.25rem !important; }
    .ps-lg-2 { padding-left: 0.5rem !important; }
    .ps-lg-3 { padding-left: 1rem !important; }
    .ps-lg-4 { padding-left: 1.5rem !important; }
    .ps-lg-5 { padding-left: 3rem !important; }

    .pe-lg-0 { padding-right: 0 !important; }
    .pe-lg-1 { padding-right: 0.25rem !important; }
    .pe-lg-2 { padding-right: 0.5rem !important; }
    .pe-lg-3 { padding-right: 1rem !important; }
    .pe-lg-4 { padding-right: 1.5rem !important; }
    .pe-lg-5 { padding-right: 3rem !important; }

    .px-lg-0 { padding-left: 0 !important; padding-right: 0 !important; }
    .px-lg-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
    .px-lg-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    .px-lg-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .px-lg-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .px-lg-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

    .py-lg-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .py-lg-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
    .py-lg-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
    .py-lg-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-lg-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .py-lg-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 1200px) {
    /* Margins */
    .m-xl-0 { margin: 0 !important; }
    .m-xl-1 { margin: 0.25rem !important; }
    .m-xl-2 { margin: 0.5rem !important; }
    .m-xl-3 { margin: 1rem !important; }
    .m-xl-4 { margin: 1.5rem !important; }
    .m-xl-5 { margin: 3rem !important; }

    .mt-xl-0 { margin-top: 0 !important; }
    .mt-xl-1 { margin-top: 0.25rem !important; }
    .mt-xl-2 { margin-top: 0.5rem !important; }
    .mt-xl-3 { margin-top: 1rem !important; }
    .mt-xl-4 { margin-top: 1.5rem !important; }
    .mt-xl-5 { margin-top: 3rem !important; }

    .mb-xl-0 { margin-bottom: 0 !important; }
    .mb-xl-1 { margin-bottom: 0.25rem !important; }
    .mb-xl-2 { margin-bottom: 0.5rem !important; }
    .mb-xl-3 { margin-bottom: 1rem !important; }
    .mb-xl-4 { margin-bottom: 1.5rem !important; }
    .mb-xl-5 { margin-bottom: 3rem !important; }

    .ms-xl-0 { margin-left: 0 !important; }
    .ms-xl-1 { margin-left: 0.25rem !important; }
    .ms-xl-2 { margin-left: 0.5rem !important; }
    .ms-xl-3 { margin-left: 1rem !important; }
    .ms-xl-4 { margin-left: 1.5rem !important; }
    .ms-xl-5 { margin-left: 3rem !important; }

    .me-xl-0 { margin-right: 0 !important; }
    .me-xl-1 { margin-right: 0.25rem !important; }
    .me-xl-2 { margin-right: 0.5rem !important; }
    .me-xl-3 { margin-right: 1rem !important; }
    .me-xl-4 { margin-right: 1.5rem !important; }
    .me-xl-5 { margin-right: 3rem !important; }

    .mx-xl-0 { margin-left: 0 !important; margin-right: 0 !important; }
    .mx-xl-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
    .mx-xl-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
    .mx-xl-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
    .mx-xl-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
    .mx-xl-5 { margin-left: 3rem !important; margin-right: 3rem !important; }

    .my-xl-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
    .my-xl-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
    .my-xl-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
    .my-xl-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
    .my-xl-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
    .my-xl-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

    /* Paddings */
    .p-xl-0 { padding: 0 !important; }
    .p-xl-1 { padding: 0.25rem !important; }
    .p-xl-2 { padding: 0.5rem !important; }
    .p-xl-3 { padding: 1rem !important; }
    .p-xl-4 { padding: 1.5rem !important; }
    .p-xl-5 { padding: 3rem !important; }

    .pt-xl-0 { padding-top: 0 !important; }
    .pt-xl-1 { padding-top: 0.25rem !important; }
    .pt-xl-2 { padding-top: 0.5rem !important; }
    .pt-xl-3 { padding-top: 1rem !important; }
    .pt-xl-4 { padding-top: 1.5rem !important; }
    .pt-xl-5 { padding-top: 3rem !important; }

    .pb-xl-0 { padding-bottom: 0 !important; }
    .pb-xl-1 { padding-bottom: 0.25rem !important; }
    .pb-xl-2 { padding-bottom: 0.5rem !important; }
    .pb-xl-3 { padding-bottom: 1rem !important; }
    .pb-xl-4 { padding-bottom: 1.5rem !important; }
    .pb-xl-5 { padding-bottom: 3rem !important; }

    .ps-xl-0 { padding-left: 0 !important; }
    .ps-xl-1 { padding-left: 0.25rem !important; }
    .ps-xl-2 { padding-left: 0.5rem !important; }
    .ps-xl-3 { padding-left: 1rem !important; }
    .ps-xl-4 { padding-left: 1.5rem !important; }
    .ps-xl-5 { padding-left: 3rem !important; }

    .pe-xl-0 { padding-right: 0 !important; }
    .pe-xl-1 { padding-right: 0.25rem !important; }
    .pe-xl-2 { padding-right: 0.5rem !important; }
    .pe-xl-3 { padding-right: 1rem !important; }
    .pe-xl-4 { padding-right: 1.5rem !important; }
    .pe-xl-5 { padding-right: 3rem !important; }

    .px-xl-0 { padding-left: 0 !important; padding-right: 0 !important; }
    .px-xl-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
    .px-xl-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    .px-xl-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .px-xl-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .px-xl-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

    .py-xl-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .py-xl-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
    .py-xl-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
    .py-xl-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-xl-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .py-xl-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}
/* Border Classes */
.border { border: 1px solid #dee2e6 !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }
.border-top-0 { border-top: 0 !important; }
.border-end { border-right: 1px solid #dee2e6 !important; }
.border-end-0 { border-right: 0 !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; }
.border-bottom-0 { border-bottom: 0 !important; }
.border-start { border-left: 1px solid #dee2e6 !important; }
.border-start-0 { border-left: 0 !important; }

/* Border Color Classes */
.border-primary { border-color: #0d6efd !important; }
.border-secondary { border-color: #6c757d !important; }
.border-success { border-color: #198754 !important; }
.border-danger { border-color: #dc3545 !important; }
.border-warning { border-color: #ffc107 !important; }
.border-info { border-color: #0dcaf0 !important; }
.border-light { border-color: #f8f9fa !important; }
.border-dark { border-color: #212529 !important; }
.border-white { border-color: #fff !important; }

/* Border Width Classes */
.border-1 { border-width: 1px !important; }
.border-2 { border-width: 2px !important; }
.border-3 { border-width: 3px !important; }
.border-4 { border-width: 4px !important; }
.border-5 { border-width: 5px !important; }

/* Border Opacity Classes */
.border-opacity-10 { --bs-border-opacity: 0.1; }
.border-opacity-25 { --bs-border-opacity: 0.25; }
.border-opacity-50 { --bs-border-opacity: 0.5; }
.border-opacity-75 { --bs-border-opacity: 0.75; }
.border-opacity-100 { --bs-border-opacity: 1; }

/* Border Style Classes */
.border-solid { border-style: solid !important; }
.border-dashed { border-style: dashed !important; }
.border-dotted { border-style: dotted !important; }
.border-double { border-style: double !important; }
.border-none { border-style: none !important; }

/* Responsive Border Classes */
@media (min-width: 576px) {
    .border-sm { border: 1px solid #dee2e6 !important; }
    .border-sm-0 { border: 0 !important; }
    .border-sm-top { border-top: 1px solid #dee2e6 !important; }
    .border-sm-top-0 { border-top: 0 !important; }
    .border-sm-end { border-right: 1px solid #dee2e6 !important; }
    .border-sm-end-0 { border-right: 0 !important; }
    .border-sm-bottom { border-bottom: 1px solid #dee2e6 !important; }
    .border-sm-bottom-0 { border-bottom: 0 !important; }
    .border-sm-start { border-left: 1px solid #dee2e6 !important; }
    .border-sm-start-0 { border-left: 0 !important; }
}

@media (min-width: 768px) {
    .border-md { border: 1px solid #dee2e6 !important; }
    .border-md-0 { border: 0 !important; }
    .border-md-top { border-top: 1px solid #dee2e6 !important; }
    .border-md-top-0 { border-top: 0 !important; }
    .border-md-end { border-right: 1px solid #dee2e6 !important; }
    .border-md-end-0 { border-right: 0 !important; }
    .border-md-bottom { border-bottom: 1px solid #dee2e6 !important; }
    .border-md-bottom-0 { border-bottom: 0 !important; }
    .border-md-start { border-left: 1px solid #dee2e6 !important; }
    .border-md-start-0 { border-left: 0 !important; }
}

@media (min-width: 992px) {
    .border-lg { border: 1px solid #dee2e6 !important; }
    .border-lg-0 { border: 0 !important; }
    .border-lg-top { border-top: 1px solid #dee2e6 !important; }
    .border-lg-top-0 { border-top: 0 !important; }
    .border-lg-end { border-right: 1px solid #dee2e6 !important; }
    .border-lg-end-0 { border-right: 0 !important; }
    .border-lg-bottom { border-bottom: 1px solid #dee2e6 !important; }
    .border-lg-bottom-0 { border-bottom: 0 !important; }
    .border-lg-start { border-left: 1px solid #dee2e6 !important; }
    .border-lg-start-0 { border-left: 0 !important; }
}

@media (min-width: 1200px) {
    .border-xl { border: 1px solid #dee2e6 !important; }
    .border-xl-0 { border: 0 !important; }
    .border-xl-top { border-top: 1px solid #dee2e6 !important; }
    .border-xl-top-0 { border-top: 0 !important; }
    .border-xl-end { border-right: 1px solid #dee2e6 !important; }
    .border-xl-end-0 { border-right: 0 !important; }
    .border-xl-bottom { border-bottom: 1px solid #dee2e6 !important; }
    .border-xl-bottom-0 { border-bottom: 0 !important; }
    .border-xl-start { border-left: 1px solid #dee2e6 !important; }
    .border-xl-start-0 { border-left: 0 !important; }
}
.cursor-pointer { cursor: pointer !important; }
/* Flex Classes */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

/* Flex Direction */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }

/* Flex Wrap */
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-wrap-reverse { flex-wrap: wrap-reverse !important; }

/* Justify Content */
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

/* Align Items */
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

/* Align Self */
.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch { align-self: stretch !important; }

/* Align Content */
.align-content-start { align-content: flex-start !important; }
.align-content-end { align-content: flex-end !important; }
.align-content-center { align-content: center !important; }
.align-content-between { align-content: space-between !important; }
.align-content-around { align-content: space-around !important; }
.align-content-stretch { align-content: stretch !important; }

/* Flex Grow and Shrink */
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }

/* Flex Fill */
.flex-fill { flex: 1 1 auto !important; }

/* 響應式 Flex 類 */
@media (min-width: 576px) {
    .d-sm-flex { display: flex !important; }
    .d-sm-inline-flex { display: inline-flex !important; }
    .flex-sm-row { flex-direction: row !important; }
    .flex-sm-column { flex-direction: column !important; }
    .flex-sm-row-reverse { flex-direction: row-reverse !important; }
    .flex-sm-column-reverse { flex-direction: column-reverse !important; }
    .flex-sm-wrap { flex-wrap: wrap !important; }
    .flex-sm-nowrap { flex-wrap: nowrap !important; }
    .justify-content-sm-start { justify-content: flex-start !important; }
    .justify-content-sm-end { justify-content: flex-end !important; }
    .justify-content-sm-center { justify-content: center !important; }
    .justify-content-sm-between { justify-content: space-between !important; }
    .justify-content-sm-around { justify-content: space-around !important; }
    .align-items-sm-start { align-items: flex-start !important; }
    .align-items-sm-end { align-items: flex-end !important; }
    .align-items-sm-center { align-items: center !important; }
    .align-items-sm-baseline { align-items: baseline !important; }
    .align-items-sm-stretch { align-items: stretch !important; }
}

@media (min-width: 768px) {
    .d-md-flex { display: flex !important; }
    .d-md-inline-flex { display: inline-flex !important; }
    .flex-md-row { flex-direction: row !important; }
    .flex-md-column { flex-direction: column !important; }
    .flex-md-row-reverse { flex-direction: row-reverse !important; }
    .flex-md-column-reverse { flex-direction: column-reverse !important; }
    .flex-md-wrap { flex-wrap: wrap !important; }
    .flex-md-nowrap { flex-wrap: nowrap !important; }
    .justify-content-md-start { justify-content: flex-start !important; }
    .justify-content-md-end { justify-content: flex-end !important; }
    .justify-content-md-center { justify-content: center !important; }
    .justify-content-md-between { justify-content: space-between !important; }
    .justify-content-md-around { justify-content: space-around !important; }
    .align-items-md-start { align-items: flex-start !important; }
    .align-items-md-end { align-items: flex-end !important; }
    .align-items-md-center { align-items: center !important; }
    .align-items-md-baseline { align-items: baseline !important; }
    .align-items-md-stretch { align-items: stretch !important; }
}

@media (min-width: 992px) {
    .d-lg-flex { display: flex !important; }
    .d-lg-inline-flex { display: inline-flex !important; }
    .flex-lg-row { flex-direction: row !important; }
    .flex-lg-column { flex-direction: column !important; }
    .flex-lg-row-reverse { flex-direction: row-reverse !important; }
    .flex-lg-column-reverse { flex-direction: column-reverse !important; }
    .flex-lg-wrap { flex-wrap: wrap !important; }
    .flex-lg-nowrap { flex-wrap: nowrap !important; }
    .justify-content-lg-start { justify-content: flex-start !important; }
    .justify-content-lg-end { justify-content: flex-end !important; }
    .justify-content-lg-center { justify-content: center !important; }
    .justify-content-lg-between { justify-content: space-between !important; }
    .justify-content-lg-around { justify-content: space-around !important; }
    .align-items-lg-start { align-items: flex-start !important; }
    .align-items-lg-end { align-items: flex-end !important; }
    .align-items-lg-center { align-items: center !important; }
    .align-items-lg-baseline { align-items: baseline !important; }
    .align-items-lg-stretch { align-items: stretch !important; }
}

@media (min-width: 1200px) {
    .d-xl-flex { display: flex !important; }
    .d-xl-inline-flex { display: inline-flex !important; }
    .flex-xl-row { flex-direction: row !important; }
    .flex-xl-column { flex-direction: column !important; }
    .flex-xl-row-reverse { flex-direction: row-reverse !important; }
    .flex-xl-column-reverse { flex-direction: column-reverse !important; }
    .flex-xl-wrap { flex-wrap: wrap !important; }
    .flex-xl-nowrap { flex-wrap: nowrap !important; }
    .justify-content-xl-start { justify-content: flex-start !important; }
    .justify-content-xl-end { justify-content: flex-end !important; }
    .justify-content-xl-center { justify-content: center !important; }
    .justify-content-xl-between { justify-content: space-between !important; }
    .justify-content-xl-around { justify-content: space-around !important; }
    .align-items-xl-start { align-items: flex-start !important; }
    .align-items-xl-end { align-items: flex-end !important; }
    .align-items-xl-center { align-items: center !important; }
    .align-items-xl-baseline { align-items: baseline !important; }
    .align-items-xl-stretch { align-items: stretch !important; }
}

/* Display Classes */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-table { display: table !important; }
.d-table-row { display: table-row !important; }
.d-table-cell { display: table-cell !important; }

/* Position Classes */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

/* Position Values */
.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.top-100 { top: 100% !important; }
.bottom-0 { bottom: 0 !important; }
.bottom-50 { bottom: 50% !important; }
.bottom-100 { bottom: 100% !important; }
.start-0 { left: 0 !important; }
.start-50 { left: 50% !important; }
.start-100 { left: 100% !important; }
.end-0 { right: 0 !important; }
.end-50 { right: 50% !important; }
.end-100 { right: 100% !important; }

/* Translate Middle Helper */
.translate-middle { transform: translate(-50%, -50%) !important; }
.translate-middle-x { transform: translateX(-50%) !important; }
.translate-middle-y { transform: translateY(-50%) !important; }

/* Z-index Utilities */
.z-0 { z-index: 0 !important; }
.z-1 { z-index: 1 !important; }
.z-2 { z-index: 2 !important; }
.z-3 { z-index: 3 !important; }

/* Responsive Display Classes */
@media (min-width: 576px) {
    .d-sm-none { display: none !important; }
    .d-sm-inline { display: inline !important; }
    .d-sm-inline-block { display: inline-block !important; }
    .d-sm-block { display: block !important; }
    .d-sm-table { display: table !important; }
    .d-sm-table-row { display: table-row !important; }
    .d-sm-table-cell { display: table-cell !important; }
    
    .position-sm-static { position: static !important; }
    .position-sm-relative { position: relative !important; }
    .position-sm-absolute { position: absolute !important; }
    .position-sm-fixed { position: fixed !important; }
    .position-sm-sticky { position: sticky !important; }
}

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-inline { display: inline !important; }
    .d-md-inline-block { display: inline-block !important; }
    .d-md-block { display: block !important; }
    .d-md-table { display: table !important; }
    .d-md-table-row { display: table-row !important; }
    .d-md-table-cell { display: table-cell !important; }
    
    .position-md-static { position: static !important; }
    .position-md-relative { position: relative !important; }
    .position-md-absolute { position: absolute !important; }
    .position-md-fixed { position: fixed !important; }
    .position-md-sticky { position: sticky !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-inline { display: inline !important; }
    .d-lg-inline-block { display: inline-block !important; }
    .d-lg-block { display: block !important; }
    .d-lg-table { display: table !important; }
    .d-lg-table-row { display: table-row !important; }
    .d-lg-table-cell { display: table-cell !important; }
    
    .position-lg-static { position: static !important; }
    .position-lg-relative { position: relative !important; }
    .position-lg-absolute { position: absolute !important; }
    .position-lg-fixed { position: fixed !important; }
    .position-lg-sticky { position: sticky !important; }
}

@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-inline { display: inline !important; }
    .d-xl-inline-block { display: inline-block !important; }
    .d-xl-block { display: block !important; }
    .d-xl-table { display: table !important; }
    .d-xl-table-row { display: table-row !important; }
    .d-xl-table-cell { display: table-cell !important; }
    
    .position-xl-static { position: static !important; }
    .position-xl-relative { position: relative !important; }
    .position-xl-absolute { position: absolute !important; }
    .position-xl-fixed { position: fixed !important; }
    .position-xl-sticky { position: sticky !important; }
}

/* Print Display Classes */
@media print {
    .d-print-none { display: none !important; }
    .d-print-inline { display: inline !important; }
    .d-print-inline-block { display: inline-block !important; }
    .d-print-block { display: block !important; }
    .d-print-table { display: table !important; }
    .d-print-table-row { display: table-row !important; }
    .d-print-table-cell { display: table-cell !important; }
}

/* Font Size Classes */
.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

/* Display Headings */
.display-1 {
    font-size: 5rem !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
}
.display-2 {
    font-size: 4.5rem !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
}
.display-3 {
    font-size: 4rem !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
}
.display-4 {
    font-size: 3.5rem !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
}
.display-5 {
    font-size: 3rem !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
}
.display-6 {
    font-size: 2.5rem !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
}

/* Font Weight Classes */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

/* Text Transform */
.text-lowercase { text-transform: lowercase !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* Responsive Font Sizes */
@media (min-width: 576px) {
    .fs-sm-1 { font-size: 2.5rem !important; }
    .fs-sm-2 { font-size: 2rem !important; }
    .fs-sm-3 { font-size: 1.75rem !important; }
    .fs-sm-4 { font-size: 1.5rem !important; }
    .fs-sm-5 { font-size: 1.25rem !important; }
    .fs-sm-6 { font-size: 1rem !important; }
}

@media (min-width: 768px) {
    .fs-md-1 { font-size: 2.5rem !important; }
    .fs-md-2 { font-size: 2rem !important; }
    .fs-md-3 { font-size: 1.75rem !important; }
    .fs-md-4 { font-size: 1.5rem !important; }
    .fs-md-5 { font-size: 1.25rem !important; }
    .fs-md-6 { font-size: 1rem !important; }
}

@media (min-width: 992px) {
    .fs-lg-1 { font-size: 2.5rem !important; }
    .fs-lg-2 { font-size: 2rem !important; }
    .fs-lg-3 { font-size: 1.75rem !important; }
    .fs-lg-4 { font-size: 1.5rem !important; }
    .fs-lg-5 { font-size: 1.25rem !important; }
    .fs-lg-6 { font-size: 1rem !important; }
}

@media (min-width: 1200px) {
    .fs-xl-1 { font-size: 2.5rem !important; }
    .fs-xl-2 { font-size: 2rem !important; }
    .fs-xl-3 { font-size: 1.75rem !important; }
    .fs-xl-4 { font-size: 1.5rem !important; }
    .fs-xl-5 { font-size: 1.25rem !important; }
    .fs-xl-6 { font-size: 1rem !important; }
}
/* gird */


/* Dropdown 基礎樣式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
    margin-left: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #585858;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.625rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-menu.show {
    display: block;
}

/* Dropdown 項目 */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #585858;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #1e2125;
    background-color: #f8f9fa;
}

.dropdown-item.active,
.dropdown-item:active {
    text-decoration: none;
    /* background-color: #88f6e7; */
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
}

/* Dropdown 分隔線 */
.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Dropdown 標題 */
.dropdown-header {
    display: block;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #6c757d;
    white-space: nowrap;
}

/* Dropdown 文字 */
.dropdown-item-text {
    display: block;
    padding: 0.25rem 1rem;
    color: #212529;
}

/* Dropdown 方向變體 */
.dropup .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 0.125rem;
}

.dropup .dropdown-toggle::after {
    border-top: 0;
    border-bottom: 0.3em solid;
}

.dropend .dropdown-menu {
    top: 0;
    right: auto;
    left: 100%;
    margin-top: 0;
    margin-left: 0.125rem;
}

.dropend .dropdown-toggle::after {
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    vertical-align: 0;
}

.dropstart .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: 0;
    margin-right: 0.125rem;
}

.dropstart .dropdown-toggle::after {
    display: none;
}

.dropstart .dropdown-toggle::before {
    display: inline-block;
    margin-right: 0.255em;
    border-top: 0.3em solid transparent;
    border-right: 0.3em solid;
    border-bottom: 0.3em solid transparent;
    vertical-align: 0;
}

/* Dropdown 選單對齊 */
.dropdown-menu-start {
    --bs-position: start;
    right: auto;
    left: 0;
}

.dropdown-menu-end {
    --bs-position: end;
    right: 0;
    left: auto;
}

/* 響應式 Dropdown 選單對齊 */
@media (min-width: 576px) {
    .dropdown-menu-sm-start {
        --bs-position: start;
        right: auto;
        left: 0;
    }
    .dropdown-menu-sm-end {
        --bs-position: end;
        right: 0;
        left: auto;
    }
}

@media (min-width: 768px) {
    .dropdown-menu-md-start {
        --bs-position: start;
        right: auto;
        left: 0;
    }
    .dropdown-menu-md-end {
        --bs-position: end;
        right: 0;
        left: auto;
    }
}

@media (min-width: 992px) {
    .dropdown-menu-lg-start {
        --bs-position: start;
        right: auto;
        left: 0;
    }
    .dropdown-menu-lg-end {
        --bs-position: end;
        right: 0;
        left: auto;
    }
}

@media (min-width: 1200px) {
    .dropdown-menu-xl-start {
        --bs-position: start;
        right: auto;
        left: 0;
    }
    .dropdown-menu-xl-end {
        --bs-position: end;
        right: 0;
        left: auto;
    }
}

/* Dropdown 選單暗色主題 */
.dropdown-menu-dark {
    color: #dee2e6;
    background-color: #343a40;
    border-color: rgba(0, 0, 0, 0.15);
}

.dropdown-menu-dark .dropdown-item {
    color: #dee2e6;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
    color: #fff;
    background-color: #0d6efd;
}

.dropdown-menu-dark .dropdown-item.disabled,
.dropdown-menu-dark .dropdown-item:disabled {
    color: #adb5bd;
}

.dropdown-menu-dark .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

.dropdown-menu-dark .dropdown-item-text {
    color: #dee2e6;
}

.dropdown-menu-dark .dropdown-header {
    color: #adb5bd;
}
/* Badge Base */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

/* Badge Colors */
.badge-primary {
    color: #fff;
    background-color: #0d6efd;
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.badge-success {
    color: #fff;
    background-color: #198754;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-warning {
    color: #000;
    background-color: #ffc107;
}

.badge-info {
    color: #000;
    background-color: #0dcaf0;
}

.badge-light {
    color: #000;
    background-color: #f8f9fa;
}

.badge-dark {
    color: #fff;
    background-color: #212529;
}

/* Badge Pill Modifier */
.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}

/* Badge Sizes */
.badge-sm {
    padding: 0.25em 0.4em;
    font-size: 0.65em;
}

.badge-lg {
    padding: 0.45em 0.8em;
    font-size: 0.85em;
}

/* Badge Variants */
.badge-outline-primary {
    color: #0d6efd;
    border: 1px solid #0d6efd;
    background-color: transparent;
}

.badge-outline-secondary {
    color: #6c757d;
    border: 1px solid #6c757d;
    background-color: transparent;
}

.badge-outline-success {
    color: #198754;
    border: 1px solid #198754;
    background-color: transparent;
}

.badge-outline-danger {
    color: #dc3545;
    border: 1px solid #dc3545;
    background-color: transparent;
}

.badge-outline-warning {
    color: #ffc107;
    border: 1px solid #ffc107;
    background-color: transparent;
}

.badge-outline-info {
    color: #0dcaf0;
    border: 1px solid #0dcaf0;
    background-color: transparent;
}

.badge-outline-light {
    color: #f8f9fa;
    border: 1px solid #f8f9fa;
    background-color: transparent;
}

.badge-outline-dark {
    color: #212529;
    border: 1px solid #212529;
    background-color: transparent;
}

/* Badge Hover Effects */
.badge-primary:hover {
    background-color: #0b5ed7;
}

.badge-secondary:hover {
    background-color: #5c636a;
}

.badge-success:hover {
    background-color: #157347;
}

.badge-danger:hover {
    background-color: #bb2d3b;
}

.badge-warning:hover {
    background-color: #ffca2c;
}

.badge-info:hover {
    background-color: #31d2f2;
}

.badge-light:hover {
    background-color: #e9ecef;
}

.badge-dark:hover {
    background-color: #1a1e21;
}

/* Badge Position Utilities */
.badge-positioned {
    position: absolute;
}

.badge-top-right {
    top: -8px;
    right: -8px;
}

.badge-top-left {
    top: -8px;
    left: -8px;
}

.badge-bottom-right {
    bottom: -8px;
    right: -8px;
}

.badge-bottom-left {
    bottom: -8px;
    left: -8px;
}

/* Text Colors */
.text-primary { color: #079542 !important; }
.text-secondary { color: #6c757d !important; }
.text-success { color: #198754 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #0dcaf0 !important; }
.text-light { color: #f8f9fa !important; }
.text-dark { color: #212529 !important; }
.text-white { color: #fff !important; }
.text-muted { color: #6c757d !important; }

/* Background Colors */
.bg-primary { background-color: #105e31 !important; }
.bg-secondary { background-color: #6c757d !important; }
.bg-success { background-color: #198754 !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-warning { background-color: #ffc107 !important; }
.bg-info { background-color: #0dcaf0 !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #212529 !important; }
.bg-white { background-color: #fff !important; }
.bg-transparent { background-color: transparent !important; }

/* Background Gradient */
.bg-gradient {
    background-image: var(--bs-gradient) !important;
}

/* Background Opacity */
.bg-opacity-10 { --bs-bg-opacity: 0.1; }
.bg-opacity-25 { --bs-bg-opacity: 0.25; }
.bg-opacity-50 { --bs-bg-opacity: 0.5; }
.bg-opacity-75 { --bs-bg-opacity: 0.75; }
.bg-opacity-100 { --bs-bg-opacity: 1; }

/* Text Opacity */
.text-opacity-25 { --bs-text-opacity: 0.25; }
.text-opacity-50 { --bs-text-opacity: 0.5; }
.text-opacity-75 { --bs-text-opacity: 0.75; }
.text-opacity-100 { --bs-text-opacity: 1; }

/* Text Decoration */
.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }
.text-decoration-line-through { text-decoration: line-through !important; }

/* Text Alignment */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }

/* Responsive Text Alignment */
@media (min-width: 576px) {
    .text-sm-start { text-align: left !important; }
    .text-sm-center { text-align: center !important; }
    .text-sm-end { text-align: right !important; }
}

@media (min-width: 768px) {
    .text-md-start { text-align: left !important; }
    .text-md-center { text-align: center !important; }
    .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
    .text-lg-start { text-align: left !important; }
    .text-lg-center { text-align: center !important; }
    .text-lg-end { text-align: right !important; }
}

@media (min-width: 1200px) {
    .text-xl-start { text-align: left !important; }
    .text-xl-center { text-align: center !important; }
    .text-xl-end { text-align: right !important; }
}

/* Text Wrap */
.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }
.text-break { word-wrap: break-word !important; word-break: break-word !important; }

/* Text Overflow */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.overflow-hidden{
    overflow: hidden !important;
}
/* 圓角類別 */
.rounded {
    border-radius: 0.25rem !important;
}

.rounded-sm {
    border-radius: 0.2rem !important;
}

.rounded-lg {
    border-radius: 0.3rem !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* 圓角類別 - 針對特定邊 */
.rounded-top {
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}

.rounded-end {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.rounded-bottom {
    border-bottom-left-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.rounded-start {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

/* Margin Auto Classes */
.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.ms-auto {
    margin-left: auto !important;
}

.me-auto {
    margin-right: auto !important;
}

/* Responsive Margin Auto Classes */
@media (min-width: 576px) {
    .mx-sm-auto {
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .ms-sm-auto {
        margin-left: auto !important;
    }
    .me-sm-auto {
        margin-right: auto !important;
    }
}

@media (min-width: 768px) {
    .mx-md-auto {
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .ms-md-auto {
        margin-left: auto !important;
    }
    .me-md-auto {
        margin-right: auto !important;
    }
}

@media (min-width: 992px) {
    .mx-lg-auto {
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .ms-lg-auto {
        margin-left: auto !important;
    }
    .me-lg-auto {
        margin-right: auto !important;
    }
}

@media (min-width: 1200px) {
    .mx-xl-auto {
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .ms-xl-auto {
        margin-left: auto !important;
    }
    .me-xl-auto {
        margin-right: auto !important;
    }
}

/* Gap Classes */
.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Responsive Gap Classes */
@media (min-width: 576px) {
    .gap-sm-0 { gap: 0 !important; }
    .gap-sm-1 { gap: 0.25rem !important; }
    .gap-sm-2 { gap: 0.5rem !important; }
    .gap-sm-3 { gap: 1rem !important; }
    .gap-sm-4 { gap: 1.5rem !important; }
    .gap-sm-5 { gap: 3rem !important; }
}

@media (min-width: 768px) {
    .gap-md-0 { gap: 0 !important; }
    .gap-md-1 { gap: 0.25rem !important; }
    .gap-md-2 { gap: 0.5rem !important; }
    .gap-md-3 { gap: 1rem !important; }
    .gap-md-4 { gap: 1.5rem !important; }
    .gap-md-5 { gap: 3rem !important; }
}

@media (min-width: 992px) {
    .gap-lg-0 { gap: 0 !important; }
    .gap-lg-1 { gap: 0.25rem !important; }
    .gap-lg-2 { gap: 0.5rem !important; }
    .gap-lg-3 { gap: 1rem !important; }
    .gap-lg-4 { gap: 1.5rem !important; }
    .gap-lg-5 { gap: 3rem !important; }
}

@media (min-width: 1200px) {
    .gap-xl-0 { gap: 0 !important; }
    .gap-xl-1 { gap: 0.25rem !important; }
    .gap-xl-2 { gap: 0.5rem !important; }
    .gap-xl-3 { gap: 1rem !important; }
    .gap-xl-4 { gap: 1.5rem !important; }
    .gap-xl-5 { gap: 3rem !important; }
}