body {
    font-family: Roboto, sans-serif;
    color: rgb(42 53 61);
}
.password-toggle {
    cursor: pointer;
}
.bgcolor-primary{
    background-color: rgb(159 28 33) !important;
}
.login-container {
    width: 90%;
    max-width: 1600px;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.login-form {
    max-width: 400px;
    margin: auto;
    padding: 40px;
}

.login-form h2 {
    margin-bottom: 20px;
}

.login-form p {
    margin-bottom: 20px;
}

.login-form .form-group {
    text-align: left;
}

.login-form .form-control {
    margin-bottom: 20px;
    border-radius: 5px;
}

.login-form .btn {
    background-color: #ff4b4b;
    border: none;
    border-radius: 5px;
}

.login-form .btn:hover {
    background-color: #ff0000;
}
@media (min-width: 1280px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1260px;
    }
    .container-xl {
        padding-top: 20px;
    }
}

@media (min-width: 1480px) {
     .container-xl {
        padding-top: 100px;
    }
}
.line1 {
    white-space: nowrap; /* Giữ cho dòng này không bị cắt giữa chừng */
}
.line2 {
    display: inline-block;
    width: 100%; /* Đảm bảo dòng 2 rộng hơn dòng đầu nếu nó xuống dòng */
}
.btn-chuyendon{
    color: #007bff;
    font-weight: 700;
    text-decoration: underline;
}
        /* Container cho icon và modal */
        #icon-container {
            position: relative; /* Đặt icon-container là relative để modal có thể tuyệt đối so với nó */
            display: inline-block; /* Để icon-tab và modal nằm cùng nhau */
        }

        /* Popup modal */
        .productModal {
            display: none; /* Ẩn modal ban đầu */
            position: absolute;
            top: 100%; /* Hiển thị modal ngay bên dưới icon-tab */
            left: -275px;
            background-color: white;
            border: 1px solid #ccc;
            padding: 5px;
            box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
            z-index: 1000;
            width: 280px;
            height: auto;
        }
        .product-list > h3 {
            font-size: 1.5rem;
            line-height: 2rem;
            font-weight: 700;
            letter-spacing: 0.025em;
        }
        .text-red{
            color: rgb(198 40 40);
        }
        /* Close button */
        .close {
            color: #aaa;
            float: right;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
        }
        .product-item,.product-list {
            display: block; /* Hoặc inline-block */
            visibility: visible; /* Đảm bảo rằng các thẻ không bị ẩn */
        }
        
        /* Kiểm tra kích thước của các icon */
        .product-icon {
            width: 20px; /* Ví dụ */
            height: 20px; /* Ví dụ */
            background-color: #ccc; /* Nếu không có icon, thử dùng background color để kiểm tra */
        }
        .close:hover,
        .close:focus {
            color: black;
        }

        /* Product list */
        .product-list h3 {
            margin-top: 0;
        }
        .object-contain{
            object-fit: contain; 
        }
        .mgb-2{
            margin-bottom: 2rem;
        }
        .mgt-2{
            margin-top: 2rem;
        }
        .mgb-1{
            margin-bottom: 1rem;
        }
        .mgt-1{
            margin-top: 1rem;
        }
        .w-45{
            width: 45%;
        }
        .justify-content-space-between{
            justify-content: space-between;
        }
        .product-item {
            margin: 5px 5px;
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
            padding-left: 0.75rem;
            padding-right: 0.75rem;
            border-radius: 0.5rem;
        }
        .pd-right-45rem{
            padding-right: 4.5rem;
        }
        .pd-right-15rem{
            padding-right: 1.5rem;
        }
        .pd-right-55rem{
            padding-right: 5.5rem;
        }
        .mb-125{
            margin-bottom: 1.25rem;
        }
        .product-item.active{
            outline-color:#9F1C21;
            outline-style: solid;
            outline-width: 2px;
        }
     
        .product-item:hover{
            --tw-bg-opacity: 1;
            background-color: rgb(203 213 225 / var(--tw-bg-opacity));
        }
        
        .color-blue{
            color:#007bff;
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.4);
        }
        
        .modal-content {
            position: absolute;
            height: 100v;
            padding: 30px !important;
            background-color: #fefefe;
            /* margin: 50% 50%; */
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 600px;
            border-radius: 8px;
            text-align: center;
            top: 30%;
            left: 30%;
        }
        .modal-title{
            font-size: 1.2rem;
            line-height: 1.5rem;
            font-weight: 500;
            letter-spacing: 0.025em;
            display: -ms-flexbox;
            padding: 0.5rem 0.5rem;
            border-bottom: 1px solid #dee2e6;
            border-top-left-radius: calc(.3rem - 1px);
            border-top-right-radius: calc(.3rem - 1px);
        }
        .modal-download-link{
            text-align: left;
        }
        .modal-description{
            margin-top: 1rem;
            text-align: left;
        }
        .modal-confirm-button{
            width: fit-content;
        }
        .w-fit-content{
            width: fit-content;
        }
        .close-modal {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        .btn-dong {
            background-color: red;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .btn-dong:hover {
            background-color: #45a049;
        }
        .close-modal:hover,
        .close-modal:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        
        h2 {
            margin-top: 0;
        }
        
        .download-link {
            display: inline-block;
            color: #007bff;
            text-decoration: none;
            margin: 10px 0;
        }
        
        .confirm-button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        .text-underline-link{
            color: #007bff;
            font-weight: 700;
        }
        .notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #4CAF50;
            color: white;
            padding: 15px;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            z-index: 1000;
            display: none;
            animation: fadeIn 0.5s, fadeOut 0.5s 2.5s;
        }
    
        @keyframes fadeIn {
            from {opacity: 0;}
            to {opacity: 1;}
        }
    
        @keyframes fadeOut {
            from {opacity: 1;}
            to {opacity: 0;}
        }
        .confirm-button:hover {
            background-color: #0056b3;
        }
        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #3498db;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }