/* * {
    margin: 0 !important;
    padding: 0 !important;
} */

*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}

body,
.md-typeset,
.md-header,
.md-nav,
.md-footer {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important; */
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: #1a1a1a;
}

h1 {
    /* font-size: 2.25rem;
    line-height: 2.5rem; */
    font-weight: 700 !important;
    /* display: flex;
    align-items: center;
    gap: 1rem; */
    color: #000 !important
}


.md-header {
    background-color: white;
    color: black;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.md-header__title,
.md-header__button {
    color: black;
}



/* Căn giữa ô search trên header */
.md-header__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Căn giữa khối search */
.md-search {
    position: relative;
    z-index: 1;
}

/*START --- CSS for SEARCH*/

/* Tăng độ rộng input search + style cơ bản */
/* .md-search__form {
    transition: all 0.3s ease;
    border-radius: 6px;
} */

/* Style khi hover vào ô search */
/* .md-search__form:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
} */

/* Base style */
.md-search__form {
    transition: all 0.2s ease-in-out;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(255, 255, 255, 1) 0px 0px 0px 0px,
        rgba(194, 199, 207, 0.72) 0px 0px 0px 1px,
        rgba(10, 10, 11, 0.11) 0px 3.08966px 4.78622px -0.696555px,
        rgba(0, 0, 0, 0.07) 0px 1.39311px 2.78622px -1.39311px;
    color: rgb(52, 54, 58);
    border-radius: 0.5rem;
}

/* Hover effect */
.md-search__form:hover {
    background-color: rgb(251, 252, 252);
    box-shadow: rgba(255, 255, 255, 1) 0px 0px 0px 0px,
        rgba(194, 199, 207, 0.72) 0px 0px 0px 1px,
        rgba(10, 10, 11, 0.11) 0px 3.08966px 4.78622px -0.696555px,
        rgba(0, 0, 0, 0.07) 0px 1.39311px 2.78622px -1.39311px;
    transform: scale(1.01393);
    cursor: pointer !important;
}

.md-search__input::placeholder {
    color: #666;
    /* Đổi thành màu bạn muốn */
    opacity: 1;
    /* Đảm bảo không bị quá mờ */
}

.md-search__input:hover::placeholder {
    color: black;
    /* Đổi thành màu bạn muốn */
}

.md-search__form>.md-icon svg {
    fill: #666;
}


/* Style input text */
.md-search__input {
    padding: 6px 12px;
    border-radius: 6px;
    color: black;
}

/*END --- CSS for SEARCH*/

/*START --- CSS for NAV*/

/* .md-nav__item:hover a {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    /viền hình chữ nhật/
    border-radius: 6px;
    /padding: 6px 12px;/
    cursor: pointer;
    transition: all 0.2s ease-in-out;
} */

.md-nav--primary>.md-nav__title {
    background-color: white !important;
    color: black !important;
}

.md-nav__title {
    background-color: white;
    color: black
}

.md-nav__link {
    font-weight: 400;
    font-size: 14px;
    color: #1C1D1FA3;
}

.md-nav__link:hover {
    color: #1c1d1f !important;
}

.md-nav__link--active {
    color: #346DDB !important;
    font-weight: 600;
}

/*END --- CSS for NAV*/

/*START --- CSS for Footer*/
/* .md-footer {
    display: none !important;
} */



.md-footer__title {
    color: #fff;
}

.md-footer__link>.md-icon svg {
    color: #fff;
}

/*END --- CSS for Footer*/


.image-row-custom-mkdocs {
    display: flex;
    gap: 10px;
    width: 100%;
    --gap: 10px;
}

.image-row-custom-mkdocs img {
    width: calc((100% - (var(--gap) * (var(--count) - 1))) / var(--count));
    height: auto;
}