﻿.device-type-order {
    position: fixed;
    z-index: 10;
    background: #ffffff;
    top: 50px;
    width: 100%;
    max-height: 100%
}

.device-type-order-desk {
    position: relative !important;
    top: 0px !important;
}
 

.prod-desktop {
    height: 310px;
    width: 25rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.prod-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    > img

{
    width: 130px;
    height: 120px;
}

.hot-indicator {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px 6px 2px 6px;
    font-weight: 600;
    z-index: 1
}

}

.prod-desktop :hover {
    cursor: pointer;
}

.img-hover-zoom:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.card-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

    .card-container:hover img {
        transform: scale(1.1);
        transition: transform 0.3s ease-in-out;
    }

.list-prod {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
}

.title-list {
    margin-left: 2%;
}

    .title-list span {
        color: #c31731;
        font-weight: 600;
        font-size: 20px;
        font-family: RoundedNext;
    }

.card-title {
    height: 38px;
    font-size: 17px;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: 600;
    font-family: RoundedNext;  
}

.card-title:hover a {
    text-decoration: none;
    color: #337ab7;
} 

.quantity-down {
    height: 100% !important;
    background: #5bc0de;
    width: 33px;
    border-radius: 4px 0 0 4px !important;
    color: #ffffff;
}

.quantity-up {
    height: 100% !important;
    background: #5bc0de;
    width: 33px;
    border-radius: 0 4px 4px 0 !important;
    color: #ffffff;
}

.button-quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.prod-name {
    font-size: 16px;
    font-family: RoundedNext;
    color: #f20202;
    font-weight: 700;
}

.card-prom {
    border-top: 1px solid #dedede;
    padding-top: 5px;
    height: 30px;
}
 
/*Có dùng chung*/
.deviceType1 .pagination {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ccc;
    background-color: white !important;
    z-index: 999;
}

.img-hot {
    height: 24px;
    position: absolute;
    top: 0;
    right: 12px;
}

.border-img {
    width: 130px;
    height: 120px;
    border: 1px solid #aaaaaa !important;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 3px;
}

.pagination > li > a, .pagination > li > span {
    border: 1px solid #ddd !important;
}

.hidden {
    opacity: 0;
    transition: opacity 3s ease-in-out;
    pointer-events: none;
}

.no-item {
    text-align: center;
    color: red;
    font-weight: bold;
    padding: 20px;
    background: #ebecec;
    height: 400px;
}

.dropzone {
    border: 2px dashed #ccc;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 150px;
    width: 100%;
    text-align: center
}

    .dropzone .dz-message {
        position: relative;
        text-transform: uppercase;
        margin-top: 0px !important;
    }

.preview-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

.preview-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

    .preview-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.preview-details {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.preview-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .preview-actions button {
        flex: 1;
    }
 
.radio-container {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 3px;
    border-radius: 3px;
}

/* Cropper Modal Styles */ 
#cropperImage {
    max-width: 100%;
}
  
/* List image */
.prod-img {
    position: relative;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding-top: 20px;
    margin-top: 0px;
    margin-bottom: 10px;
}

/* Container chính */
.pagination-container {
    width: 100%;
    margin: 10px 0;
}

/* Wrapper cho toàn bộ pagination */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 34px;
}

/* Wrapper cho từng phần */
.page-size-wrapper,
.pagination-nav-wrapper,
.page-info-wrapper {
    display: flex;
    align-items: center;
}

/* Style cho phần select */
.page-size {
    margin: 0;
    display: flex;
    align-items: center;
}

    .page-size .form-control {
        width: 70px;
        height: 34px;
        display: inline-block;
        vertical-align: middle;
    }

.page-size-label {
    margin-left: 8px;
    line-height: 34px;
    white-space: nowrap;
}

/* Style cho pagination */
.pagination {
    margin: 0;
    display: flex;
    align-items: center;
}

    .pagination > li > a {
        height: 34px;
        line-height: 20px;
        padding: 6px 12px;
        vertical-align: middle;
    }

/* Style cho page info */
.page-info-wrapper {
    line-height: 34px;
    white-space: nowrap;
}

/* Đảm bảo các phần tử có cùng chiều cao */
.form-control,
.pagination > li > a,
.page-size-label,
.page-info-wrapper {
    vertical-align: middle;
}

/* Fix cho Bootstrap 3 */
.pagination > li > a {
    position: relative;
    float: left;
    margin-left: -1px;
    border: 1px solid #ddd;
}

.pagination > .active > a {
    background-color: #337ab7;
    border-color: #337ab7;
    color: white;
}

.pagination > .disabled > a {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
}
