﻿.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1000;
}

/*.modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    min-width: 400px;
    max-width: 90vw;
    width: auto;
}
*/
.modal-content {
    background: white;
    border-radius: 4px;
}

.modal-header, .modal-footer {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-footer {
    border-top: none;
    text-align: right;
}

.modal-body {
    padding: 1rem;
}

.confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 1040;
}

tr.expired-row > td {
    background-color: #ffe6e6; /* màu nền nhạt đỏ */
    color: #a94442; /* màu chữ đỏ đậm */
    font-weight: bold;
    font-style: italic;
}

tr.will-expired-row > td {
    /*background-color: #ffe6e6 !important;*/
    color: green !important;
    font-weight: bold;
}

.mycustomer-td {
    /*background-color: #ffe6e6 !important;*/
    color: green !important;
    font-weight: bold;
    font-style: italic;
}

.normal-row {
    background-color: white;
}

.modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0 auto;
}

.modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.drop-zone {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    position: relative;
}

    .drop-zone.drag-over {
        border-color: #007bff;
        background-color: #e7f3ff;
    }

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
