
.mt-30px{
    margin-top: 30px;
}
.mb-30px{
    margin-bottom: 30px;
}
.pt-30px{
    padding-top: 30px;
}
.pb-30px{
    padding-bottom: 30px;
}
.affiliate-container {
    margin: 0 auto;
    font-size: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}



.affiliate-card label {
    color: #374151;
    display: block;
    margin-bottom: 4px;
    /* 0.25rem */
    font-weight: 500;
}

.input-group {
    position: relative;
    margin: 4px 0 12px;
    /* 0.25rem 0 0.75rem */
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 8px 80px 8px 8px;
    /* 0.5rem 5rem 0.5rem 0.5rem */
    border: 1px solid #d1d5db;
    border-radius: 8px !important;
    background: #fff;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}

.input-actions {
    position: absolute;
    right: 8px;
    /* 0.5rem */
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    /* 0.5rem */
}

.action {
    display: flex;
    align-items: center;
    gap: 4px;
    /* 0.25rem */
    font-size: 14px;
    /* 0.75rem */
    cursor: pointer;
    color: #374151;
}

.action .icon {
    width: 16px;
    /* 1rem */
    height: 16px;
    /* 1rem */
    color: #4b5563;
    transition: color 0.2s;
}

.action:hover .icon {
    color: #1f2937;
}

.note {
    padding-top: 16px;
    /* 1rem */
    color: #1f2937;
}

.note .highlight {
    font-weight: 600;
}

.affiliate-steps {
    padding-top: 16px;
    /* 1rem */
    padding-left: 16px;
    /* 1rem */
    color: #374151;
}

.affiliate-steps ol {
    list-style: decimal;
}

.affiliate-steps li {
    margin-bottom: 8px;
    /* 0.5rem */
}

.affiliate-table {
    padding-top: 16px;
    /* 1rem */
    overflow-x: auto;
}

.affiliate-table table {
    min-width: 100%;
    border: 1px solid #d1d5db;
    border-collapse: collapse;
    font-size: 14px;
    /* 0.875rem ~ 14px */
    text-align: center;
}

.affiliate-table th,
.affiliate-table td {
    border: 1px solid #d1d5db;
    padding: 8px 12px;
    /* 0.5rem 0.75rem */
}

.affiliate-table thead {
    background: #f3f4f6;
    font-weight: 600;
    color: #111827;
}

.affiliate-footer {
    margin: 16px 0;
    /* 1rem 0 */
    color: #374151;
}

.align-left {
    text-align: left !important;
}


@-webkit-keyframes drop-in-fade-out {
    0% {
        opacity: 0;
        visibility: visible;
        -webkit-transform: translate3d(0, -200%, 0);
        -moz-transform: translate3d(0, -200%, 0);
        -ms-transform: translate3d(0, -200%, 0);
        -o-transform: translate3d(0, -200%, 0);
        transform: translate3d(0, -200%, 0);
    }
    12% {
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    20% {
        opacity: 1;
    }
    70% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    80% {
        opacity: 0;
    }
    100% {
        visibility: hidden;
        -webkit-transform: translate3d(75%, 0, 0);
        -moz-transform: translate3d(75%, 0, 0);
        -ms-transform: translate3d(75%, 0, 0);
        -o-transform: translate3d(75%, 0, 0);
        transform: translate3d(25%, 0, 0);
    }
}

@-moz-keyframes drop-in-fade-out {
    0% {
        opacity: 0;
        visibility: visible;
        -webkit-transform: translate3d(0, -200%, 0);
        -moz-transform: translate3d(0, -200%, 0);
        -ms-transform: translate3d(0, -200%, 0);
        -o-transform: translate3d(0, -200%, 0);
        transform: translate3d(0, -200%, 0);
    }
    12% {
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    20% {
        opacity: 1;
    }
    70% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    80% {
        opacity: 0;
    }
    100% {
        visibility: hidden;
        -webkit-transform: translate3d(75%, 0, 0);
        -moz-transform: translate3d(75%, 0, 0);
        -ms-transform: translate3d(75%, 0, 0);
        -o-transform: translate3d(75%, 0, 0);
        transform: translate3d(25%, 0, 0);
    }
}

@-o-keyframes drop-in-fade-out {
    0% {
        opacity: 0;
        visibility: visible;
        -webkit-transform: translate3d(0, -200%, 0);
        -moz-transform: translate3d(0, -200%, 0);
        -ms-transform: translate3d(0, -200%, 0);
        -o-transform: translate3d(0, -200%, 0);
        transform: translate3d(0, -200%, 0);
    }
    12% {
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    20% {
        opacity: 1;
    }
    70% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    80% {
        opacity: 0;
    }
    100% {
        visibility: hidden;
        -webkit-transform: translate3d(75%, 0, 0);
        -moz-transform: translate3d(75%, 0, 0);
        -ms-transform: translate3d(75%, 0, 0);
        -o-transform: translate3d(75%, 0, 0);
        transform: translate3d(25%, 0, 0);
    }
}

@keyframes drop-in-fade-out {
    0% {
        opacity: 0;
        visibility: visible;
        -webkit-transform: translate3d(0, -200%, 0);
        -moz-transform: translate3d(0, -200%, 0);
        -ms-transform: translate3d(0, -200%, 0);
        -o-transform: translate3d(0, -200%, 0);
        transform: translate3d(0, -200%, 0);
    }
    12% {
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    20% {
        opacity: 1;
    }
    70% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    80% {
        opacity: 0;
    }
    100% {
        visibility: hidden;
        -webkit-transform: translate3d(75%, 0, 0);
        -moz-transform: translate3d(75%, 0, 0);
        -ms-transform: translate3d(75%, 0, 0);
        -o-transform: translate3d(75%, 0, 0);
        transform: translate3d(25%, 0, 0);
    }
}

.animate--drop-in-fade-out {
    -webkit-animation: drop-in-fade-out 3.5s 0.4s cubic-bezier(.32, 1.75, .65, .91);
    -moz-animation: drop-in-fade-out 3.5s 0.4s cubic-bezier(.32, 1.75, .65, .91);
    -ms-animation: drop-in-fade-out 3.5s 0.4s cubic-bezier(.32, 1.75, .65, .91);
    -o-animation: drop-in-fade-out 3.5s 0.4s cubic-bezier(.32, 1.75, .65, .91);
    animation: drop-in-fade-out 3.5s 0.4s cubic-bezier(.32, 1.75, .65, .91);
}
table{
    font-size: 14px;
}
/*////*/
.text-base {
    font-size: 15px;
}
.height-48{
    height:56px !important;
}
.br_8{
    border-radius: 8px!important;
}
.font-medium {
    font-weight: 600;
}

.faq-question:hover,
.faq-question.active {
    background-color: #ADD8FE !important;
    font-weight:600;
}
.d-play_none{
    display: none !important;
}
.font-bold{
    font-weight: 700;
}
.text-xlx {
    font-size: 18px;
    line-height: 20px;
}
.rotate {
    transform: rotate(180deg);
    transition: transform 0.4s ease;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    transition: background-color 0.3s;
}
.menu-container a{
    color: black;
    text-decoration: none !important;

}
.faq-item.active .faq-question {
    background-color: #ADD8FE;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    border-radius: 8px 0 0 8px;
}
input:focus {
    outline: none;
    border-color: #E3E3E3;
}

.wrapper {
    position: relative;
    height: 38px;
}


.input-button {
    position: absolute;
    height: 27px;
    width: 27px;
    color: #E3E3E3;
    text-align: center;
    line-height: 27px;
    cursor: pointer;
    opacity: 0;
    border: 1px solid transparent;
    transition: opacity 0.5s ease;
}
.input-button.visible {
    opacity: 1;
}
.group_input_number:hover input,
.group_input_number:hover .button-container{
    border-color: #0dcaf0;
}

.input-button:hover {
    background: #FAFAFA;
}

.input-button.add {
    border-left: 1px solid #E3E3E3;
    width: 25px;
    font-size: 12px;
    height: 18px;
    top: 0;
    right: 0px;
    border-bottom: none;
    border-radius: 0 8px 0 0;
}

.input-button.remove {
    border-left: 1px solid #E3E3E3;
    width: 25px;
    /*background-color: #0a53be;*/
    font-size: 12px;
    height: 18px;
    bottom: 0;
    right: 0px;
    border-radius: 0 0 8px 0;
}

.input-button.add i,
.input-button.remove i {
    position: relative;
    top: -3px;
}

.hidden {
    visibility: hidden;
}

.button-container {
    border-radius: 0 8px 8px 0;
    border: 1px solid #E3E3E3;
    position: absolute;
    border-left: none;
    right: 0;
    height: 100%;
    width: 27px;
}
.menu-container {
    display: block;
    overflow-x: unset;
}

.menu-container a {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .menu-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }

    .menu-container a {
        flex: 0 0 auto;
        margin-right: 10px;
    }
    .contact{
        margin-top: 10px!important;
    }
    .contact .row{
        gap: 10px!important;
    }
    .mbtn20{
        margin-bottom: 20px!important;
    }
    .mbtn10{
        margin-bottom: 10px!important;
    }
}

.ms-auto{
    margin-left: auto !important;
}
.gap20{
    gap: 20px!important;
}

.justify-content-center {
    justify-content: center !important;
}
.form-switch {
     padding-left: 32px;
 }
.form-check {
    display: block;
    min-height: 1.25rem;
    padding-left: 0.5rem;
}
.checkbox-wrapper-7 .tgl {
    display: none;
}
.checkbox-wrapper-7 .tgl,
.checkbox-wrapper-7 .tgl:after,
.checkbox-wrapper-7 .tgl:before,
.checkbox-wrapper-7 .tgl *,
.checkbox-wrapper-7 .tgl *:after,
.checkbox-wrapper-7 .tgl *:before,
.checkbox-wrapper-7 .tgl + .tgl-btn {
    box-sizing: border-box;
}
.checkbox-wrapper-7 .tgl::-moz-selection,
.checkbox-wrapper-7 .tgl:after::-moz-selection,
.checkbox-wrapper-7 .tgl:before::-moz-selection,
.checkbox-wrapper-7 .tgl *::-moz-selection,
.checkbox-wrapper-7 .tgl *:after::-moz-selection,
.checkbox-wrapper-7 .tgl *:before::-moz-selection,
.checkbox-wrapper-7 .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper-7 .tgl::selection,
.checkbox-wrapper-7 .tgl:after::selection,
.checkbox-wrapper-7 .tgl:before::selection,
.checkbox-wrapper-7 .tgl *::selection,
.checkbox-wrapper-7 .tgl *:after::selection,
.checkbox-wrapper-7 .tgl *:before::selection,
.checkbox-wrapper-7 .tgl + .tgl-btn::selection {
    background: none;
}
.checkbox-wrapper-7 .tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 40px;
    height: 22px;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:after,
.checkbox-wrapper-7 .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:after {
    left: 0;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:before {
    display: none;
}
.checkbox-wrapper-7 .tgl:checked + .tgl-btn:after {
    left: 50%;
}

.checkbox-wrapper-7 .tgl-ios + .tgl-btn {
    background: #fbfbfb;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
    border: 1px solid #e8eae9;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:after {
    border-radius: 2em;
    background: #fbfbfb;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:hover:after {
    will-change: padding;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:active {
    box-shadow: inset 0 0 0 2em #e8eae9;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:active:after {
    padding-right: 0.8em;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn {
    background: #86d993;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn:active {
    box-shadow: none;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn:active:after {
    margin-left: -0.8em;
}
.sub-menu {
    display: none;
}
.sub-menu.open {
    display: block;
}
.stt_paid{
    color: #fff;
    background-color: #5BBD2B;
    display: inline-block;
    padding: 0 15px;
}
.stt_unpaid{
    color: #fff;
    background-color: #F09C42;
    display: inline-block;
    padding: 0 9px;
}
.stt_cancelled{
    color: #898989;
    background-color: #D7D7D7;
    display: inline-block;
    padding: 0 9px;
}
.text_unpaid{
    color: #F09C42
}
.text_cancelled{
    color: #898989
}
.text_paid{
    color: #5BBD2B
}
@media (max-width: 991px) {
    .col-md-11 {
        max-width: 100% !important;
    }
}
@media (max-width: 576px) {
    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 12px;
    }
    .input-group input {
        font-size: 16px;
        padding: 12px 10px;
        border-radius: 10px !important;
        margin-bottom: 0;
    }
    .input-actions {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        position: static;
        margin-top: 0;
    }
    .input-actions .action {
        font-size: 15px;
        padding: 10px 0;
        width: 48%;
        justify-content: center;
        border-radius: 8px;
        background: #f3f4f6;
        box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    }
    .input-actions .action svg {
        width: 20px;
        height: 20px;
    }
}

/* Tăng vùng bấm cho icon và text */
.input-actions .action span {
    padding-left: 4px;
    font-weight: 500;
}