.p-15 {
    padding: 15px;
}

.preview {
    max-width: 50px;
    height: auto;
}

a.btn {
    color: #ffffff;
}

.btn-default,
.btn-default:hover,
.btn-outline-primary:hover,
.btn-outline-primary:hover:hover,
.btn-outline-warning:hover,
.btn-outline-warning:hover:hover,
.btn-primary,
.btn-primary:hover,
.btn-warning,
.btn-warning:hover {
    color: #ffffff !important;
}

div#name_delete {
    display: inline;
    font-weight: bold;
}

.table td,
.table th {
    padding: 0.5rem 1rem;
}

.select2-container--classic .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 35px;
    line-height: 35px;
}

.form-control.error {
    border-color: #f62d51;
}

.input-group.error {
    border: 1px solid #f62d51;
}

.help-block.error {
    color: #f62d51;
}

.alert ul {
    margin-bottom: 0px;
    padding: 0px 15px;
}

#products-datatables {
    min-height: 200px;
}

.btn-circle.btn-sm,
.btn-group-sm>.btn-circle.btn {
    padding: 8px;
}

.page-breadcrumb {
    padding: 40px 20px 0;
}

.hide {
    display: none;
}

.d-flex .lds-ripple {
    position: relative;
    top: 0;
    left: 0;
}

.d-flex.loading {
    width: 100%;
}

.d-flex.hide {
    display: none !important;
}

#result {
    margin-top: 10px;
    margin-bottom: 10px;
    /* position: relative; */
    /* top: 88px; */
    max-height: 300px;
    overflow: auto;
    /* width: 100%; */
    background: #ffffff;
    /* left: 11px; */
    /* z-index: 100000; */
    /* border: 1px solid #dddddd; */
    display: none;
    min-height: 100px;
}

.loadding {
    color: #f62d51;
    text-align: center;
    margin: 0 auto;
}

.card-body {
    position: relative;
}

.d-flex-center {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.text_red {
    color: #f62d51;
}

.invoice .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.invoice-info {
    margin-bottom: 20px;
    line-height: 1.5rem;
}

.invoice .footer {
    text-align: center;
}

.invoice .footer p {
    margin-bottom: 0px;
}

.print .invoice {
    border: 1px solid #dddddd;
    padding: 30px 15px;
}

.select2-container--default .select2-selection--multiple {
    line-height: 20px;
}

.btn-circle.btn-sm,
.btn-group-sm>.btn-circle.btn {
    padding: 6px;
}

.sort_edit {
    width: 70px;
}

.text-status {
    font-size: 26px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.email-app .email-table .unread {
    background-color: #f8f9fa;
}

.pagination  .active {
    z-index: 2;
    color: #381be7;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.avatar-pilot {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 50%;
}

.avatar-pilot .img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    object-fit: cover;
}

.job-description {
    white-space: break-spaces;
}

.basic-addon1, .basic-addon2 {
    border-radius: 24px 0 0 24px !important;
    background-color: unset;
}

.email_login, .password_login {
    border-radius: 0 24px 24px 0 !important;
}

.auth-box {
    max-width: 600px !important;
}

#main-wrapper[data-layout="vertical"] .topbar .top-navbar .navbar-header[data-logobg="skin6"] .navbar-brand .light-logo, #main-wrapper[data-layout="horizontal"] .topbar .top-navbar .navbar-header[data-logobg="skin6"] .navbar-brand .light-logo {
    display: inline-block !important; }

.active_sidebar {
    font-weight: 600;
    border-right: 3px solid black;
    background: lightgrey;
}

body {
    font-family: "DM Sans", sans-serif !important;
}

th {
    font-weight: 600 !important;
}

/* .dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
} */

.dataTables_wrapper  > .row:first-child {
    display: none;
}


.loader {
    border: 4px solid #2962FF; /* Màu xanh chính */
    border-radius: 50%;
    border-top: 4px solid #FFFFFF; /* Màu trắng */
    border-bottom: 4px solid #FFFFFF; /* Màu trắng */
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Làm mờ nền */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

@-webkit-keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

