.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ldp-product-item {
    background: #fff;
    padding: 1rem;
    min-height: 363px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
    border: 1px solid #ccc;
}

.ldp-product-item:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
}

.product-description {
    font-size: 1rem;
    color: #666;
}
.view-more-btn {
    display: block;
    margin: 2rem auto;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-more-btn:hover {
    background-color: #0056b3;
}

.object-fit-cover {
    object-fit: cover;
}
.object-fit-contain {
    object-fit: contain;
}

.form-select {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s,
        -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.form-select option.placeholder {
    color: #555;
    pointer-events: none;
}

.form-select:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
        0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
        0 0 8px rgba(102, 175, 233, 0.6);
}

.form-select::-moz-placeholder {
    color: #777;
    opacity: 1;
}

.form-select:-ms-input-placeholder {
    color: #777;
}

.form-select::-webkit-input-placeholder {
    color: #777;
}

.form-select[disabled],
.form-select[readonly],
fieldset[disabled] .form-select {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

/*css Landipage*/
.banner-description > p {
    margin: 0;
}

.result-search {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: none;
}

.header-page h3 {
    margin: 0;
    margin-bottom: 5px;
    font-size: 18px;

    /*line-height: 32px;*/
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-page h3 span {
    color: #0072bc;
    font-weight: 600;
}

.pvcombank-title-circle {
    float: left;
    height: 28px;
    list-style: none outside none;
    margin: 0 8px 8px 0;
    position: relative;
    width: 28px;
}

.pvcombank-title-circle-inner {
    border-radius: 50%;
    font-size: inherit;
    font-weight: 400;
    height: 38px;
    overflow: hidden;
    position: absolute;
    text-align: center;
    color: #0a0a0a;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0072bc;
}

.panel {
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: 0.3s;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.container-item {
    max-width: 1036px !important;
}

.panel-collapse {
    transition: height 0.3s ease, opacity 0.3s ease;
}

.panel-collapse.in {
    height: auto;
    opacity: 1;
}

.panel-collapse:not(.in) {
    height: 0;
    opacity: 0;
    overflow: hidden;
}

#loading-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7);
    /* Nền mờ */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Đảm bảo nằm trên các phần tử khác */
}

.custom-gap [class^="col-"] {
    margin-bottom: 15px;
    /* Khoảng cách giữa các hàng */
}

.tab-bar {
    display: flex;
    justify-content: space-around;
    background-color: white;
    padding: 5px;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    width: 100%;
    border: 1px solid rgba(27, 29, 41, 0.1);
    border-radius: 32px;
}

.tab-bar span:after {
    content: "";
    width: 1px;
    height: 100%;
    border-left: 1px dotted #0072bc;
}

.tab-bar button {
    flex: 1;
    padding: 6px 40px;
    color: black;
    background: none;
    border: none;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 2rem;
    transition: background 0.3s ease;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 32px;
}

.tab-bar button:last-child {
    border-right: none;
}

/* .tab-bar button:hover, */
.button-view-form-card:hover,
.button-view-form-card:hover,
.tab-bar button.active {
    background-color: #ffc708;
    border-radius: 32px;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: block;
    transform: translateY(0);
}

.form-label {
    color: rgba(27, 29, 41, 0.8) !important;
}

.submit-form {
    padding: 6px 40px;
    color: black;
    background: #ffc708;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 32px;
}

.text-muted {
    color: rgba(27, 29, 41, 0.6);
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7); /* Nền mờ */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Đảm bảo nằm trên các phần tử khác */
}

/* Center the loader inside the div */
#loadingApi {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loadingApi .loader {
    margin: auto;
    width: 50px; /* Set width */
    height: 50px; /* Set height */
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-radius: 50%;
    border-top: 4px solid rgba(255, 255, 255, 0.2);
    border-right: 4px solid rgba(255, 255, 255, 0.2);
    border-bottom: 4px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid #ffc708;
    transform: translateZ(0);
    animation: load8 1.1s infinite linear;
}

.text-decoration-none {
    text-decoration: none;
}
.fs-14 {
    font-size: 14px !important;
}

.modal {
    display: none; /* Ẩn modal mặc định */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
    margin-top: 10px;
    background: red;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 999px;
}

.close-btn:hover {
    background: darkred;
}

.error-message {
    color: #ed0b06;
    font-size: 12px;
}
.ladipage-info {
    border: 1px solid #ccc;
}

@keyframes load8 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* @media (min-width: 992px) {
    .ladipage-info {
        max-height: 400px;
    }
} */
@media (max-width: 768px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .tab-bar button {
        padding: 5px 10px !important;
    }

    .modal-content {
        margin: auto 8px !important;
    }
}

@media (max-width: 992px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .tab-bar button {
        padding: 5px 10px !important;
    }
}

@media (max-width: 480px) {
    .product-list {
        grid-template-columns: 1fr !important;
    }
}
