.modal .modal-dialog.big, .modal .modal-dialog.medium {
    min-width: 95%;
}
.modal .modal-content .modal-header {
    display: flex;
    justify-content: space-between;
    direction: ltr;
    border: 0;
}
.modal .modal-content .modal-header .title ,
.modal .modal-content .modal-body .title {
  font-size: 18px;
}
.modal .modal-content .modal-header .close-btn {
    background: none;
    border: none;
    opacity: 1;
    transition: all 0.2s ease-in-out;
}
.modal .modal-content .modal-header .close-btn:hover {
    opacity: 100%;
}
.modal .modal-content .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.modal .modal-content .modal-body .top-box .right p {
    font-weight: 600;
    color: var( --blue-1, var(--blue-1));
    font-size: var(--main-font-size);

}
.modal .modal-content .modal-body .text {
    font-weight: 600;
    font-size: 16px;
    color: var( --blue-1, var(--blue-1));

}
.modal .modal-content .modal-body svg {
    max-height: 185px;
}
.modal .modal-content .modal-body .modal-message {
    font-size: 16px;
    font-weight: bold;
}
.modal .modal-content .modal-footer {
    border: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.modal .modal-content .modal-footer .btn {
    width: 45%;
}

.modal-img {
    width: 90px;
    height: 70px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 1rem;
    cursor: pointer;
}
.modal-section {
    width: 100%;
    padding: 0;
    font-size: var(--main-font-size);
}
.modal-section .title {
    text-align: start;
    font-size: 16px;
    font-weight: bold;
}
.modal-section .modal-details {
    align-items: center;
}
.modal-section .modal-details .image {
    width: 100%;
    max-width: 180px;
}
.modal-section .box {
    overflow: auto;
    margin-bottom: 1rem;
    scrollbar-color: var(--blue-4) var(--white-1);
}
.modal-section .box::-webkit-scrollbar {
    height: 8px;
}
.modal-section .box::-webkit-scrollbar-track {
    background: var(--blue-4);
    border-radius: 4px;
}
.modal-section .box::-webkit-scrollbar-thumb {
    background: var(--blue-4);
    border-radius: 4px;
}
.modal-section .box::-webkit-scrollbar-thumb:hover {
    background: var(--blue-4);
}
.modal-section .box table {
    min-width: 100%;
    font-size: var(--main-font-size);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
}
.modal-section .box table thead th {
    white-space: nowrap;
    background: var(--white-2);
    border: thin solid var(--gray-2);
    padding: 1rem;
}
.modal-section .box table thead th.min-200 {
    min-width: 200px;
}
.modal-section .box table thead th:first-child {
    border-top-right-radius: 1rem;
}
.modal-section .box table thead th:last-child {
    border-top-left-radius: 1rem;
}
.modal-section .box table tbody tr:last-child td:first-child {
    border-bottom-right-radius: 1rem;
}
.modal-section .box table tbody tr:last-child td:last-child {
    border-bottom-left-radius: 1rem;
}
.modal-section .box table tbody td {
    border: thin solid var(--gray-2);
    padding: 1rem;
    color: var(--gray-3);
}
.modal-section .box table tbody td.min-200 {
    min-width: 200px;
}
.modal-section .box table tbody td.group-bg {
    background: #f9fafb;
    font-weight: bold;
}
.modal-section .box table tbody td.header-bg {
    background: var(--white-2);
    font-weight: bold;
    color: var(--blue-1);
}
.modal-section .box table tbody td img {
    cursor: pointer;
}
.modal-section .box table tbody td .action-icon {
    text-decoration: none;
}

.row-table {
    width: 100%;
}
.row-table.nested:first-child .header:first-child {
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 0;
}
.row-table.nested:first-child .data:last-child {
    border-top-left-radius: 0;
    border-bottom-right-radius: 1rem;
}
.row-table.nested .header:first-child {
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 0;
}
.row-table.nested .data:last-child {
    border-top-left-radius: 0;
    border-bottom-right-radius: 1rem;
}
.row-table .header,
.row-table .data {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border: thin solid var(--gray-2);
    text-align: start;
}
.row-table .data.attachments-box {
    overflow-x: auto;
    scrollbar-color: var(--blue-4) var(--white-1);
}
.row-table .header {
    background-color: var(--blue-2);
    color: white;
    font-weight: 600;
    font-size: var(--main-font-size);
    display: flex;
    align-items: center;
    gap: 10px;
}
.row-table .data {
    background-color: var(--white-1);
    font-size: var(--main-font-size);
    color: var(--gray-3);
    font-weight: 400;
}
.row-table .data .attachment {
    max-width: 100%;
    border-radius: 1rem;
    cursor: pointer;
}
.row-table .data .nested-content {
    width: 100%;
    padding: 1rem 0;
}
.top-right-radius-16 {
    border-top-right-radius: 1rem;
}
.top-left-radius-16 {
    border-top-left-radius: 1rem;
}
.modal .modal-content .modal-header {
    padding-bottom: 10px;
}
.tab-title {
    font-size: 16px;
    color: var(--dark-1);
    /*font-weight: 700;*/
    margin-bottom: 10px;
}
.bottom-right-radius-16 {
    border-bottom-right-radius: 16px
}
.bottom-left-radius-16 {
    border-bottom-left-radius: 16px
}
.modal-body .data-table {
    margin-top: 0;
}
.modal-body .data-table .data-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.modal-body .data-table td {
    text-align: center;
}
.modal-body .table-responsive {
    margin: 0;
}
.modal-card {
    border: 1px solid var(--blue-4);
    border-radius: 32px;
    padding: 20px;
}
.modal-card-full {
    padding: 0;
    border-radius: 16px 16px 0 0;
}
.modal-card-full .modal-card-header {
    padding: 15px 20px;
    background: var(--blue-2);
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-card-full .modal-card-header p {
    font-weight: 500;
    font-size: var(--main-font-size);
    color: var(--white-1);
    margin: 0;
}
.modal-card-full .modal-card-body {
    padding: 20px;

}
.attachment-image {
    max-height: 120px;
}
.attachment-image img {
    max-height: 120px;
    border-radius: 16px;
}
.view-modal-light .row-table .header {
    background: var(--white-2);
    color: var(--blue-1);
    line-height: 1.5 !important;
}
.employee-profile-image {
    height: 90px;
    width: 90px;
}
.hours-total-table {
    background: rgba(0,112,204,10%) !important;
    color: var(--gray-3) !important;
}
.total-hours-banner {
    border: 1px solid rgba(10,111,194,70%);
    color: var(--blue-3);
    font-size: 16px;
    padding: 12px 15px;
    border-radius: 16px;
}
.total-hours-banner strong {
    margin-right: 10px;
    font-size: 16px;
}
.attachment-dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 16px;
    border: 1px solid #EAEAEA;
    padding: 15px;
    width: 100%;
    cursor: pointer;
}
.attachment-dropdown p {
    margin: 0;
    color: #0B2746;
    font-weight: 400;
    font-size: 14px;
}
.attachment-dropdown span {
    margin-right: auto;
}
