:root {
    --primaryColor: #722f37;
    --secondaryColor: #722f37;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: Inter, sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

strong, b {
    font-weight: 700;
}

body {
    margin: 0;
    color: rgba(0, 0, 0, 0.87);
    font-family: inherit;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #f8f9fa;
    background-image: radial-gradient(at 0% 0%, rgba(114, 47, 55, 0.05) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(212, 175, 55, 0.1) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(114, 47, 55, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #111 !important;
    caret-color: #111;
    transition: background-color 9999s ease-in-out 0s;
}

.plain-anchor-tag {
    -webkit-text-decoration: none;
    text-decoration: none;
    color: initial;
}

body::backdrop {
    background-color: #fff;
}

.header-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}

.header-transparent nav {
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border: 1px solid transparent !important;
}

.header-transparent nav > a, .header-transparent .blog-menu > a {
    position: relative;
    color: #fff !important;
}

.header-transparent nav > a:hover, .header-transparent .blog-menu > a:hover,
.header-transparent nav > a.active {
    color: unset !important;
    box-shadow: none !important;
    transform: none !important;
    background-color: transparent !important;
    color: #D4AF37 !important;
}

.header-transparent nav > a::after, .header-transparent .blog-menu > a::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: 6px;
    width: 60%;
    height: 1px;
    background: #D4AF37;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.header-transparent nav > a:hover::after,
.header-transparent nav > a.active::after,
.header-transparent .blog-menu > a:hover::after,
.header-transparent .blog-menu > a.active::after {
    transform: scaleX(1);
}

.header-transparent .btn-group > button:first-child {
    background-color: transparent !important;
    box-shadow: none !important;
}

.header-transparent #user-menu-button {
    color: #fff !important;
}

.header-transparent #user-menu-button:hover {
    color: unset !important;
}

.blog-menu .blog-arrow {
    transition: transform .22s ease;
    transform-origin: 50% 50%;
}

.blog-menu.is-open .blog-arrow {
    transform: rotate(180deg);
}

.blog-dropdown {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .25s ease;
    z-index: 60;
}

.blog-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-container .group:hover .card-zoom img {
    transform: scale(1.06);
}

.show-backdrop {
    z-index: 9999 !important;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    background-color: white;
    cursor: pointer;
}

.slider-track {
    display: flex;
    height: 100%;
}

.slide-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-container {
    position: relative;
}

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
}

.lightbox-img {
    max-width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: scale(1);
    height: 100%;
}

.lightbox-img.changing {
    opacity: 0;
    transform: scale(0.95);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 110;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.close-btn {
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.card-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.feature-card {
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.mockup-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.home-step {
    min-height: 568px;
    background: linear-gradient(180deg, rgba(255, 243, 239, .45) 64.58%, rgba(255, 243, 239, 0));
    position: relative;
}

.home-step .peach-blossom-tree {
    z-index: 9;
}

.home-step-header {
    padding-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: var(--primaryColor);
}

.home-step-content {
    position: relative;
}

.home-step-content>span {
    position: absolute !important;
    z-index: 5;
    left: -60px;
}

.home-step .MuiGrid-item {
    position: relative;
}

.home-step-line {
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 350px;
    height: 200px;
    border-radius: 4px 100px 4px 80px;
    border: 2px solid var(--secondaryColor);
    z-index: 1;
}

.home-step-item {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 32px;
    border-radius: 4px 100px 4px 60px;
    background-color: #fff;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, .161);
}

.home-step-item.first,
.home-step-item.third {
    z-index: 2;
}

.home-step-item.second {
    z-index: 4 !important;
}

.home-step-item-label {
    font-size: 32px;
    font-weight: 600;
    text-align: left;
    color: var(--secondaryColor);
}

.home-step-item-title {
    padding: 24px 0;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}

.home-step-item-des {
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
}

.home-feature {
    margin-top: 80px;
}

.home-feature>.MuiGrid-container {
    min-height: 656px;
    align-items: center;
}

.home-feature>.MuiGrid-container>.MuiGrid-item {
    padding-top: 0 !important;
}

.home-feature-image {
    position: relative;
    max-width: 470px;
    max-height: 592px;
    transition: .5s;
}

.home-feature-image>span:hover {
    animation: floating-vertical 3s ease-in-out infinite;
}

.home-feature-image-line {
    position: absolute;
    top: 15%;
    right: 15%;
    min-width: 42.46px;
    animation: floating-horizontal 3s ease-in-out infinite;
}

.home-feature-image-load {
    position: absolute;
    top: 22%;
    left: 0;
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.home-feature-item-image {
    width: 76px;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #fff3ef;
}

.home-feature-item-title {
    padding: 14px 0;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}

.home-feature-item-des {
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
}

.numbers {
    position: relative;
    height: 236px;
    display: flex;
    align-items: center;
    background-color: #722f37;
}

.numbers-bg {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 0;
}

.numbers-bg>span {
    min-height: 100%;
}

.numbers-item {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.numbers-item-image {
    width: 76px;
    height: 76px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #fff
}

.numbers-item-content {
    font-size: 32px;
    font-weight: 700;
    text-align: left;
    color: #fff;
}

.numbers-item-des {
    padding-top: 4px;
    font-size: 16px;
    font-weight: 600;
}

.css-1ll7j1d {
    width: 100%;
    margin-left: auto;
    box-sizing: border-box;
    margin-right: auto;
    display: block;
    padding-left: 16px;
    padding-right: 16px;
}

.css-sayu3r {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.css-sayu3r>.MuiGrid-item {
    padding: 25px 20px;
    width: 400px;
    height: 350px;
}

.css-nmdav1 {
    box-sizing: border-box;
    margin: 0;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    max-width: 100%;
    z-index: 1;
}

.css-oqdx8h {
    box-sizing: border-box;
    margin: 0;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    max-width: 100%;
    z-index: 10;
}

.css-1g7vr4c {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.css-2bxcd7 {
    box-sizing: border-box;
    margin: 0;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    max-width: 100%;
}

.css-1p3qn70 {
    box-sizing: border-box;
    margin: 0;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    max-width: 100%;
}

.css-mo6g6z {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.css-10no5ru {
    box-sizing: border-box;
    margin: 0;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    max-width: 100%;
}

.css-16l2fon {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.css-14ndpkc {
    box-sizing: border-box;
    margin: 0;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    max-width: 50%;
}

.document-content {
    width: 100%;
    overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
}
.document-content h1 { font-size: 2em; font-weight: bold; margin: 0.67em 0; }
.document-content h2 { font-size: 1.5em; font-weight: bold; margin: 0.75em 0; }
.document-content h3 { font-size: 1.17em; font-weight: bold; margin: 0.83em 0; }
.document-content h4 { font-size: 1em; font-weight: bold; margin: 1em 0; }
.document-content h5 { font-size: 0.83em; font-weight: bold; margin: 1.17em 0; }
.document-content h6 { font-size: 0.75em; font-weight: bold; margin: 1.33em 0; }
.document-content strong,
.document-content b { font-weight: bold; }
.document-content em,
.document-content i { font-style: italic; }
.document-content u { text-decoration: underline; }
.document-content a { color: #722f37; text-decoration: underline; }
.document-content a:hover { text-decoration: none; }
.document-content img {
    max-width: 100%;
    height: auto;
}
.document-content table {
    width: 100% !important;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
}
.document-content table td,
.document-content table th {
    padding: 6.4px;
    word-break: break-word;
    white-space: normal;
}
/* Offset khi scroll tới anchor: tránh bị che bởi header fixed */
.document-content [id] {
    scroll-margin-top: 7rem; /* header ~6rem + gap */
}
/* Danh sách & thụt đầu dòng: giống TinyMCE trong form, tránh bị reset bởi prose/theme */
.document-content ul,
.document-content ol {
    display: block !important;
    margin: 0.75em 0 !important;
    padding-left: 2em !important;
}
.document-content ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
}
.document-content ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
}
.document-content li {
    display: list-item !important;
    margin: 0.35em 0 !important;
}
.document-content ul ul,
.document-content ol ul {
    list-style-type: circle !important;
    margin-top: 0.25em !important;
    margin-bottom: 0.25em !important;
    padding-left: 2em !important;
}
.document-content ul ul ul,
.document-content ol ul ul,
.document-content ol ol ul {
    list-style-type: square !important;
    padding-left: 2em !important;
}
.document-content ol ol {
    list-style-type: lower-alpha !important;
    padding-left: 2em !important;
}
.document-content ol ol ol {
    list-style-type: lower-roman !important;
    padding-left: 2em !important;
}
.document-content p {
    margin: 0.75em 0;
}
.document-content p:first-child {
    margin-top: 0;
}
.document-content p:last-child {
    margin-bottom: 0;
}
.document-content .formula-box {
    border: 1px solid #ccc;
    background: #f8f8f8;
    padding: 4px 8px;
    font-family: monospace;
    line-height: 1;
}
.document-content li.formula-box * {
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
}
.document-content figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 4px;
}

@media print {
    body {
        background-color: #fff;
    }
}

@media (max-width:1440px) {
    .numbers-item-content {
        font-size: 28px
    }

    .numbers-item-des {
        font-size: 14px
    }
}

@media (max-width:1170px) {
    .home-step-line {
        width: 250px;
    }
    
    .home-step-item {
        width: 300px
    }
    
    .home-step-item-label {
        font-size: 28px
    }
    
    .home-step-item-title {
        padding: 16px 0;
        font-size: 18px
    }

    .home-step-item-des {
        font-size: 15px
    }
}

@media (max-width:992px) {
    .home-step-content>span {
        opacity: 0 !important
    }
    
    .home-step-line {
        width: 270px;
    }
    
    .home-feature {
        margin: 120px 0 20px
    }
    
    .home-feature-image-line {
        right: 10%
    }
    
    .home-feature-image-load {
        width: 80px
    }
    
    .numbers-item-image {
        width: 60px;
        min-width: 60px;
        height: 60px;
        margin-right: 16px
    }

    .numbers-item-content {
        font-size: 26px
    }
}

@media (max-width:768px) {
    .home-step-item {
        width: 350px;
    }
}

@media (max-width:576px) {
    .home-step-header {
        font-size: 24px
    }

    .home-step-item {
        width: 320px;
    }
    
    .home-step-content>span {
        opacity: 1 !important;
        overflow: hidden;
    }
    
    .home-step-content>span img {
        transform: rotate(90deg) translateX(-20%) scale(1.5);
    }
    
    .home-step-item-label {
        font-size: 24px
    }
    
    .home-feature {
        margin-top: 80px
    }
    
    .home-feature-item-image {
        margin: auto
    }
    
    .home-feature-item-title {
        text-align: center
    }

    .home-feature-item-des {
        text-align: center;
    }
    
    .numbers {
        margin-top: 50px
    }
    
    .numbers-item {
        justify-content: unset
    }

    .numbers-item-image {
        width: 50px;
        min-width: 50px;
        height: 50px
    }

    .numbers-item-content {
        font-size: 22px
    }
}

@media (min-width:0px) {
    .css-1g7vr4c {
        margin-top: -16px;
    }

    .css-1g7vr4c>.MuiGrid-item {
        padding-top: 16px;
    }

    .css-1g7vr4c {
        width: calc(100% + 16px);
        margin-left: -16px;
    }

    .css-1g7vr4c>.MuiGrid-item {
        padding-left: 16px;
    }

    .css-mo6g6z {
        margin-top: -16px;
    }

    .css-mo6g6z>.MuiGrid-item {
        padding-top: 16px;
    }

    .css-mo6g6z {
        width: calc(100% + 16px);
        margin-left: -16px;
    }

    .css-mo6g6z>.MuiGrid-item {
        padding-left: 16px;
    }

    .css-16l2fon {
        margin-top: -16px;
    }

    .css-16l2fon>.MuiGrid-item {
        padding-top: 16px;
    }

    .css-16l2fon {
        width: calc(100% + 16px);
        margin-left: -16px;
    }

    .css-16l2fon>.MuiGrid-item {
        padding-left: 16px;
    }
}

@media (min-width:576px) {
    .css-1ll7j1d {
        padding-left: 24px;
        padding-right: 24px;
    }

    .css-nmdav1 {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 100%;
    }

    .css-oqdx8h {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 100%;
    }

    .css-1g7vr4c {
        margin-top: -96px;
    }

    .css-1g7vr4c>.MuiGrid-item {
        padding-top: 96px;
    }

    .css-1g7vr4c {
        width: calc(100% + 96px);
        margin-left: -96px;
    }

    .css-1g7vr4c>.MuiGrid-item {
        padding-left: 96px;
    }

    .css-2bxcd7 {
        -webkit-flex-basis: 41.666667%;
        -ms-flex-preferred-size: 41.666667%;
        flex-basis: 41.666667%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 41.666667%;
    }

    .css-1p3qn70 {
        -webkit-flex-basis: 58.333333%;
        -ms-flex-preferred-size: 58.333333%;
        flex-basis: 58.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 58.333333%;
    }

    .css-mo6g6z {
        margin-top: -56px;
    }

    .css-mo6g6z>.MuiGrid-item {
        padding-top: 56px;
    }

    .css-mo6g6z {
        width: calc(100% + 56px);
        margin-left: -56px;
    }

    .css-mo6g6z>.MuiGrid-item {
        padding-left: 56px;
    }

    .css-10no5ru {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-14ndpkc {
        -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 25%;
    }
}

@media (min-width:768px) {
    .css-nmdav1 {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-oqdx8h {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-2bxcd7 {
        -webkit-flex-basis: 41.666667%;
        -ms-flex-preferred-size: 41.666667%;
        flex-basis: 41.666667%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 41.666667%;
    }

    .css-1p3qn70 {
        -webkit-flex-basis: 58.333333%;
        -ms-flex-preferred-size: 58.333333%;
        flex-basis: 58.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 58.333333%;
    }

    .css-10no5ru {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-14ndpkc {
        -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 25%;
    }
}

@media (min-width:992px) {
    .css-nmdav1 {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }

    .css-oqdx8h {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }

    .css-2bxcd7 {
        -webkit-flex-basis: 41.666667%;
        -ms-flex-preferred-size: 41.666667%;
        flex-basis: 41.666667%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 41.666667%;
    }

    .css-1p3qn70 {
        -webkit-flex-basis: 58.333333%;
        -ms-flex-preferred-size: 58.333333%;
        flex-basis: 58.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 58.333333%;
    }

    .css-10no5ru {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-14ndpkc {
        -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 25%;
    }
}

@media (min-width:1170px) {
    .css-1ll7j1d {
        max-width: 1170px;
    }

    .css-nmdav1 {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }

    .css-oqdx8h {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }

    .css-2bxcd7 {
        -webkit-flex-basis: 41.666667%;
        -ms-flex-preferred-size: 41.666667%;
        flex-basis: 41.666667%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 41.666667%;
    }

    .css-1p3qn70 {
        -webkit-flex-basis: 58.333333%;
        -ms-flex-preferred-size: 58.333333%;
        flex-basis: 58.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 58.333333%;
    }

    .css-10no5ru {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-14ndpkc {
        -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 25%;
    }
}

@media (min-width:1280px) {
    .css-nmdav1 {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }

    .css-oqdx8h {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }

    .css-2bxcd7 {
        -webkit-flex-basis: 41.666667%;
        -ms-flex-preferred-size: 41.666667%;
        flex-basis: 41.666667%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 41.666667%;
    }

    .css-1p3qn70 {
        -webkit-flex-basis: 58.333333%;
        -ms-flex-preferred-size: 58.333333%;
        flex-basis: 58.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 58.333333%;
    }

    .css-10no5ru {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-14ndpkc {
        -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 25%;
    }
}

@media (min-width:1440px) {
    .css-nmdav1 {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }

    .css-oqdx8h {
        -webkit-flex-basis: 33.333333%;
        -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.333333%;
    }
    
    .css-2bxcd7 {
        -webkit-flex-basis: 41.666667%;
        -ms-flex-preferred-size: 41.666667%;
        flex-basis: 41.666667%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 41.666667%;
    }
    
    .css-1p3qn70 {
        -webkit-flex-basis: 58.333333%;
        -ms-flex-preferred-size: 58.333333%;
        flex-basis: 58.333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 58.333333%;
    }
    
    .css-10no5ru {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 50%;
    }

    .css-14ndpkc {
        -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 25%;
    }

    .css-16l2fon {
        margin-top: -24px;
    }

    .css-16l2fon>.MuiGrid-item {
        padding-top: 24px;
    }
    
    .css-16l2fon {
        width: calc(100% + 24px);
        margin-left: -24px;
    }

    .css-16l2fon>.MuiGrid-item {
        padding-left: 24px;
    }
}

@keyframes rotate {
    to {
        transform: rotate(1turn)
    }
}

@keyframes floating-horizontal {
    0% {
        transform: translate(0)
    }

    50% {
        transform: translate(15px)
    }

    to {
        transform: translate(0)
    }
}

@keyframes floating-vertical {
    0% {
        transform: translate(0)
    }

    50% {
        transform: translateY(15px)
    }

    to {
        transform: translate(0)
    }
}

@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.animate-infinite-scroll{
    animation: infinite-scroll 25s linear infinite;
    display: flex;
    width: max-content;
}

.animate-infinite-scroll:hover{
    animation-play-state: paused;
}

/* Float alert styles */
.alert.float-alert {
    display: inline-block;
    margin: 0 auto;
    position: fixed;
    transition: all 75ms;
    z-index: 1031;
    top: 20px;
    right: 20px;
    max-width: 300px;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert.float-alert span[data-notify="icon"] {
    font-size: 19px;
    display: block;
    left: 17px;
    position: absolute;
    top: 52%;
    margin-top: -11px;
}

.alert.float-alert .alert-title {
    font-weight: 500;
    margin-left: 32px;
    float: left;
}

.alert.float-alert button.close {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -18px;
    z-index: 1033;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
    line-height: 11px;
    width: 36px;
    height: 36px;
    outline: none !important;
    text-align: center;
    padding: 3px;
    font-weight: normal;
    border: none;
    background: transparent;
    cursor: pointer;
}

.alert-success.float-alert button.close {
    color: #155724;
}

.alert-info.float-alert button.close {
    color: #0c5460;
}

.alert-warning.float-alert button.close {
    color: #856404;
}

.alert-danger.float-alert button.close {
    color: #721c24;
}

.alert.float-alert button.close:hover {
    opacity: 0.6;
}

.alert.float-alert .close ~ span {
    display: block;
    max-width: 89%;
}

/* Alert base styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated.fadeInRight {
    animation: fadeInRight 0.3s ease-out;
}

header {
    z-index: 40 !important;
}

/* Footer: hover chữ sáng lên, gạch chân chuyển động, không đổi màu */
footer.bg-gray-900 a {
    position: relative;
    transition: filter 0.25s ease;
}
footer.bg-gray-900 a:hover {
    color: inherit !important;
    filter: brightness(1.4);
}
footer.bg-gray-900 a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
footer.bg-gray-900 a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}