.modal-header {
    padding-bottom: 10px;
    padding-top: 0px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
}

.modal-title {
    
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0; 
}

.modal {
    background-color: transparent;
}

.modal-content .modal-header {
    background-color: transparent;
}

.modal-content .modal-header .modal-title {
    color: rgb(0, 4, 68);
    line-height: 24px;
    font-size: 18px;
    margin: 1rem 1rem 0 0;
}

.export-options-section {
    margin-top: 20px;
}

hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
    margin: 15px 0; 
}

.modal-footer {
    padding-bottom: 0px;
    padding-top: 15px;
}

.close {
    font-size: 24px; 
    background: none; 
    border: none; 
    cursor: pointer; 
}

.close:hover {
    color: red; 
}

.error-message {
    color: red;            
    font-size: 0.8em;     
    margin: 0;            
    padding: 0;   
    direction: rtl;
    text-align: right;
    list-style-type: none; 
}

ul {
    padding: 0;
    margin: 0; 
    display: inline-block; 
    white-space: nowrap; 
}

td {
    position: relative; 
    height: 50px; 
}

.error-icon {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: orange; 
    font-size: 20px; 
}

.error-messages ul {
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

.error-messages {
    display: none; 
    position: absolute;
    z-index: 10; 
    background-color: white; 
    border: 1px solid red; 
    border-radius: 5px; 
    padding: 5px; 
    padding-left: 30px; 
    padding-right: 12px; 
    color: red; 
    direction: rtl;
    font-size: 10px;
    text-align: right;
    max-width: 300px; 
    word-wrap: break-word; 
}

.error-icon:hover + .error-messages {
    display: block; 
}

.error-message-error {
    margin: 0; 
    padding: 2px 0; 
}

.error-messages {
    transition: opacity 0.3s ease;
    opacity: 0; 
}

.error-icon:hover + .error-messages {
    opacity: 1; 
}

.success-icon {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: green; 
    font-size: 20px; 
}

.upload-box {
    border: 1px dashed #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    padding: 0px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.upload-box:hover {
    border-color: #007bff;
    background-color: #eef5ff;
}

.upload-box input {
    display: none;
}

.upload-box .icon {
    font-size: 100px;
    color: #ccc;
}

.upload-box p {
    color: #666;
    font-size: 14px;
}

.btn-primary.dropdown-toggle:hover {
    background-color: #0056b3; 
}

th:hover .sort-icon {
    color: #007bff;
}

.modal.fade .modal-dialog {
    transform: translateY(-100px); 
    transition: transform 0.4s ease-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001; 
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-100px);
        transition: transform 0.4s ease-out, opacity 0.8s ease-in-out;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

.modal.hide {
    animation: fadeOut 0.5s ease; 
}

.modal.show {
    animation: fadeIn 0.5s ease; 
}
