/* Group Image Public */
.group-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0 !important;
    border-radius: 4px;
}

.menu-item i.icon-active {
    color: var(--bs-text-danger);
}

.navbar-brand img.main-logo-nav {
    max-width: 190px;
}

#search-category .link-category::before {
    content: "";
    display: inline-block;
    margin-right: 15px;
    background-color: var(--bs-text-dark);
    height: 10px;
    width: 1px;
}

.main-logo-footer {
    max-width: 170px;
}

.position-stay-top {
    z-index: 1;
}

.title-custom {
    position: relative;
    display: inline-block;
    color: #000;
    font-weight: bold;
}

.title-custom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--bs-text-danger);
    transition: width 0.3s ease-in-out;
}

.title-custom:hover::after {
    width: 100%;
}

a.link-sort {
    color: var(--bs-text-dark);
}

a.link-sort:hover {
    color: var(--bs-text-danger);
    font-weight: 600;
}

.owl-dots {
    text-align: center;
}

.owl-item img {
    cursor: grab;
}

.owl-dots .owl-dot {
    background: #666 !important;
    width: 12px;
    height: 12px;
    margin: 30px 5px;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
}

.owl-dots .owl-dot.active {
    background: var(--bs-text-light) !important;
}

.owl-nav {
    text-align: center;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5) !important;
    color: #0000005f !important;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.owl-prev span,
.owl-next span {
    font-size: 25px;
}

.owl-prev {
    left: 5rem;
}

.owl-next {
    right: 5rem;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: rgb(255, 255, 255) !important;
    border: #666 solid 5px;
    color: #000 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.badge-search {
    border: solid 1px var(--bs-text-danger);
    padding: 8px;
}

.badge-search.active {
    background-color: var(--bs-danger);
    color: var(--bs-white);
}

.badge-search:hover {
    background-color: var(--bs-text-danger);
    color: #fff;
    transition: 0.3s ease;
}

.otp-field {
    flex-direction: row;
    column-gap: 10px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.otp-field input {
    height: 50px;
    width: 50px;
    border-radius: 15px;
    outline: none;
    font-size: 1.125rem;
    text-align: center;
    border: 1px solid #ddd;
    /* margin-right: 5px; */
}

.otp-field input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
    display: none;
}

/* New CSS for card-body centering */
.card-body-otp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

img.img-fluid.w-lg-100.img-bnr-tp {
    height: auto;
}

/* Mobile View */
@media (max-width: 480px) {
    .owl-prev {
        left: 1rem !important;
    }

    .owl-next {
        right: 1rem !important;
    }

    .title-custom {
        position: relative;
        display: inline-block;
        color: #000;
        font-weight: bold;
    }

    .title-custom::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 3px;
        background-color: var(--bs-text-danger);
        transition: width 0.3s ease-in-out;
    }

    .title-custom:hover::after {
        width: 100%;
    }

    .badge-search {
        border: solid 1px var(--bs-text-danger);
        padding: 4px;
    }

    img.img-fluid.w-lg-100.img-bnr-tp {
        height: 10rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-inner img {
        height: 200px;
    }

    .navbar-desktop {
        position: relative;
    }

    .navbar-brand img.main-logo-nav {
        max-width: 100px;
    }

    .main-logo-footer {
        max-width: 150px;
    }

    .owl-prev {
        left: 1rem !important;
    }

    .owl-next {
        right: 1rem !important;
    }

    .title-custom {
        position: relative;
        display: inline-block;
        color: #000;
        font-weight: bold;
    }

    .title-custom::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 3px;
        background-color: var(--bs-text-danger);
        transition: width 0.3s ease-in-out;
    }

    .title-custom:hover::after {
        width: 100%;
    }

    .badge-search {
        border: solid 1px var(--bs-text-danger);
        padding: 4px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-inner img {
        height: 300px;
    }

    .navbar-desktop {
        position: sticky;
        top: 0;
        z-index: 1030;
    }

    .navbar-brand img.main-logo-nav {
        max-width: 100px;
    }

    .main-logo-footer {
        max-width: 120px;
    }

    .title-custom {
        position: relative;
        display: inline-block;
        color: #000;
        font-weight: bold;
    }

    .title-custom::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 3px;
        background-color: var(--bs-text-danger);
        transition: width 0.3s ease-in-out;
    }

    .title-custom:hover::after {
        width: 100%;
    }

    .badge-search {
        border: solid 1px var(--bs-text-danger);
        padding: 4px;
    }
}

@media (min-width: 992px) {
    .carousel-inner img {
        height: 400px;
    }

    .navbar-desktop {
        position: sticky;
        top: 0;
        z-index: 1030;
    }

    .navbar-brand img.main-logo-nav {
        max-width: 150px;
    }

    .main-logo-footer {
        max-width: 150px;
    }

    .title-custom {
        position: relative;
        display: inline-block;
        color: #000;
        font-weight: bold;
    }

    .title-custom::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 3px;
        background-color: var(--bs-text-danger);
        transition: width 0.3s ease-in-out;
    }

    .title-custom:hover::after {
        width: 100%;
    }
}

.navbar-expand .navbar-nav .nav-link.active,
.navbar-expand .navbar-nav .nav-link.active i {
    color: var(--bs-text-danger);
    font-weight: 800;
}

/* .navbar-expand .navbar-nav .nav-link:hover {
    color: var(--bs-text-danger);
    font-weight: 400;
} */