.form-table-list-wrapper {
    padding: 8px;
    overflow: auto;
    background: #fff;
}
.form-table-list-wrapper .table-list-wrapper {
    width: 100%;
}
.table-list-wrapper tbody tr:nth-child(even) {
    background-color: #fff;
}
.table-list-wrapper tbody tr:nth-child(odd) {
    background-color: #f0f0f0;
}
.form-table-list-wrapper .table-list-wrapper thead tr th {
    text-align: left;
    padding: 9px;
    border: 1px solid #f1ecec;
    background: #f0f5ff;
    color: #2f1c6a;
    white-space: nowrap;
}
.form-table-list-wrapper .table-list-wrapper thead tr th:last-child {
    width: fit-content;
}
.form-table-list-wrapper .table-list-wrapper tbody tr td {
    padding: 7px;
    border: 1px solid #f1ecec;
    white-space: nowrap;
    width: fit-content;
}
.form-table-list-wrapper .table-list-wrapper tbody tr td button {
    border: none;
    background: 0 0;
}
.form-table-list-wrapper .table-list-wrapper tbody tr .no-data-state {
    text-align: center;
}
.form-table-list-wrapper .table-list-wrapper tbody tr:nth-child(even) {
    background: #f7f7f7;
}
.table-buttons {
    display: flex;
    flex-direction: row;
    margin-left: auto;
}
.table-buttons button {
    padding: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #cfd3d4;
    background: #fff;
    width: 125px;
}
.table-buttons img {
    width: 28px;
    height: 28px;
    padding: 2px;
}
.table-buttons p {
    font-family: Mulish;
    font-size: 16px;
    margin: 0;
    line-height: 1;
    margin-top: 2px;
}
.table-buttons .btn-type {
    margin-left: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    border-radius: 12px;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2), 0 30px 70px -10px rgba(17, 24, 38, 0.25), 0 0 0 1px rgba(152, 161, 178, 0.1);
    z-index: 7;
    min-width: 300px;
    right: 0;
}
.dropdown-content.show {
    display: block;
}
.dropdown-header {
    padding: 8px;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    font-family: Mulish;
    font-size: 18px;
    font-weight: 700;
    color: #2f1c6a;
}
.dropdown-row {
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: rgba(54, 52, 77, 0.5);
}
.dropdown-row option {
    font-size: 14px;
    color: #36344d;
    font-weight: 400;
}
.dropdown-row label {
    font-size: 14px;
    color: #36344d;
    font-weight: 400;
}
.detail-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
}
.detail-container .detail-form-content-container {
    display: flex;
    flex-direction: column;
}
.detail-container .detail-form-content-container input,
.detail-container .detail-form-content-container select {
    border-radius: 8px;
    padding: 15px 10px;
}
.detail-container .detail-form-content-table-container {
    overflow: auto;
}
.detail-container .detail-form-content-table-container .input-button-container {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}
.detail-container .detail-form-content-table-container .input-button-container .button-container {
    display: flex;
    flex-direction: row;
}
.detail-container .detail-form-content-table-container .input-button-container .button-container select {
    min-width: 250px;
    width: 400px;
    height: 50px;
    font-size: 13px;
}
.detail-container .detail-form-content-table-container .input-button-container .button-container button {
    margin-left: 10px;
}
.detail-container .detail-form-content-table-container .table-list-wrapper {
    width: 100%;
    background: #fff;
}
.detail-container .detail-form-content-table-container .table-list-wrapper thead tr th {
    text-align: center;
    padding: 9px;
    border: 1px solid #f1ecec;
    background: #f0f5ff;
    color: var(--default-color);
}
.detail-container .detail-form-content-table-container .table-list-wrapper thead tr .id {
    width: 100px;
}
.detail-container .detail-form-content-table-container .table-list-wrapper thead tr th:last-child {
    width: fit-content;
}
.detail-container .detail-form-content-table-container .table-list-wrapper tbody tr td {
    padding: 7px;
    border: 1px solid #f1ecec;
}
.detail-container .detail-form-content-table-container .table-list-wrapper tbody tr .center {
    text-align: center;
}
.detail-container .detail-form-content-table-container .table-list-wrapper tbody tr td input,
.detail-container .detail-form-content-table-container .table-list-wrapper tbody tr td select {
    border-radius: 5px;
    padding: 5px 10px;
    width: 100%;
}
.detail-container .detail-form-content-table-container .table-list-wrapper tbody tr .no-data-state {
    text-align: center;
}
.header-list-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
.header-list-wrapper .button-list-default {
    padding: 5px;
    background: #4585d0;
    border: 1px solid #4585d0;
    color: #fff;
    border-radius: 4px;
}
.header-detail-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
.header-detail-wrapper .header-button-title-wrapper,
.header-detail-wrapper .header-button-wrapper {
    display: flex;
}
.header-detail-wrapper .header-button-wrapper button:last-child {
    margin-left: 10px;
}
.header-detail-wrapper .header-button-title-wrapper button {
    border: none;
    background: 0 0;
}
.header-detail-wrapper .header-button-title-wrapper button:hover i {
    color: #3f80ff;
}
.header-detail-wrapper .header-button-title-wrapper button i {
    width: 32px;
}
.header-detail-wrapper .button-detail-default {
    padding: 5px;
    background: #4585d0;
    border: 1px solid #4585d0;
    color: #fff;
    border-radius: 4px;
}
.paging {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 0;
}
.paging .number-paging {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    width: 30px;
    height: 30px;
    border-radius: 100%;
}
.paging .number-paging-active {
    background: #3f80ff;
    color: #fff;
}
.paging .button-skip-next {
    margin-left: 15px;
}
.paging .button-skip-prev {
    margin-right: 15px;
}
.paging .button-skip-next i,
.paging .button-skip-prev i {
    color: #3f80ff;
}
.popup-curtain-container {
    background: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100%;
    z-index: 12;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-curtain-container .popup-container {
    display: grid;
    grid-auto-flow: row;
    grid-gap: 25px;
    background: #fff;
    padding: 20px;
    min-width: 30%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    text-align: center;
}
.popup-curtain-container .popup-container .popup-content-container {
    padding: 0 30px;
}
.popup-curtain-container .popup-container .popup-button-container button {
    padding: 8px 20px;
}
.popup-curtain-container .popup-container .popup-button-container button:nth-child(odd) {
    margin-right: 25px;
}
.text-row {
    flex: 1;
}
.name {
    font-size: 20px;
    color: #2f1c6a;
    font-family: Mulish;
}
.action-button {
    padding: 10px;
    background-color: #3f80ff;
    color: #fff;
    border: none;
    cursor: pointer;
}
.button-row button {
    margin-right: 10px;
}
.row p {
    margin-bottom: -2px;
    font-family: Mulish;
    font-size: 12px;
}
.row:nth-child(1) p {
    color: #2f1c6a;
    font-weight: 600;
}
.row:nth-child(2) p {
    color: #36344d;
    margin-bottom: 5px;
}
.button-row {
    margin-bottom: 5px;
}
.button-row button {
    border-radius: 8px;
}
.row:nth-child(4) p {
    margin-bottom: 0;
    color: #696f8c;
    font-weight: 600;
}
.content-default-wrapper {
    overflow: auto;
}
.popup {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 14px;
    width: 400px;
}
.table-buttons-dayoff {
    display: flex;
    flex-direction: row;
    margin-left: auto;
}
.icon-container {
    position: absolute;
    top: 0;
    right: 0;
    color: #8c8c8c;
}
.icon-container {
    position: absolute;
    top: 0;
    right: 0;
    color: #8c8c8c;
}
.icon-container-active {
    background: #00a5bb;
}
.closeModalDayoff {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: 700;
}
.closeModalDayoff:focus,
.closeModalDayoff:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modaldayoff {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2), 0 30px 70px -10px rgba(17, 24, 38, 0.25), 0 0 0 1px rgba(152, 161, 178, 0.1);
}
.modal-dayoff-content {
    background: #fff;
    margin: auto;
    margin-top: 10%;
    padding: 20px;
    border-radius: 12px;
    border: 6px solid #e3e3e3;
    width: 30%;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2), 0 30px 70px -10px rgba(17, 24, 38, 0.25), 0 0 0 1px rgba(152, 161, 178, 0.1);
}
.modal-dayoff-content2 {
    background: #fff;
    margin: auto;
    margin-top: 10%;
    padding: 20px;
    border-radius: 12px;
    border: 6px solid #e3e3e3;
    width: 30%;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2), 0 30px 70px -10px rgba(17, 24, 38, 0.25), 0 0 0 1px rgba(152, 161, 178, 0.1);
}
@media screen and (max-width: 1919px) and (max-height: 1079px) {
    .modal-dayoff-content {
        background: #fff;
        margin: auto;
        margin-top: 2%;
        padding: 20px;
        border-radius: 12px;
        border: 6px solid #e3e3e3;
        width: 30%;
        box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2), 0 30px 70px -10px rgba(17, 24, 38, 0.25), 0 0 0 1px rgba(152, 161, 178, 0.1);
    }
    .modal-dayoff-content2 {
        background: #fff;
        margin: auto;
        margin-top: 2%;
        padding: 20px;
        border-radius: 12px;
        border: 6px solid #e3e3e3;
        width: 40%;
        box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2), 0 30px 70px -10px rgba(17, 24, 38, 0.25), 0 0 0 1px rgba(152, 161, 178, 0.1);
    }
}
.modal-dayoff-top-row {
    border-bottom: 1px solid #e9edf5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.modal-dayoff-content .modal-row {
    margin-bottom: 10px;
    margin-top: 10px;
    flex-direction: row;
    display: flex;
    gap: 10px;
}
.modal-dayoff-content2 .modal-row {
    margin-bottom: 10px;
    margin-top: 10px;
    flex-direction: row;
    display: flex;
    gap: 10px;
}
.modal-dayoff-content .modal-row .inside-row {
    width: 100%;
}
.modal-dayoff-content2 .modal-row .inside-row {
    width: 100%;
}
.modal-row-button {
    margin-bottom: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
}
.modal-row-button button {
    margin-left: auto;
    border-radius: 20px;
    border: 1px solid #dbdbdb;
    align-content: center;
    background: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}
.modal-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}
.modal-row button {
    display: block;
    margin-left: auto;
    margin-bottom: 5px;
}
.modal-row span {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    justify-content: center;
    font-family: Mulish;
    font-size: 14px;
    color: #36344d;
    font-weight: 400;
    margin-left: auto;
}
.modal-dayoff-content .modal-row span {
    display: inline !important;
    font-weight: 700;
    margin-bottom: 5px;
    justify-content: center;
    font-family: Mulish;
    font-size: 14px;
    color: #36344d;
    font-weight: 400;
    margin-left: auto;
}
.modal-dayoff-content .modal-row .dropdown-select {
    width: 100%;
    padding: 8px;
}
.dropdown-select option:checked {
    font-weight: 900;
    text-shadow: 0.25px 0.25px 0.25px #000;
}
.dropdown-select {
    font-weight: 900;
    text-shadow: 0.25px 0.25px 0.25px #000;
}
.center-content {
    display: flex;
    justify-content: center;
    width: 100%;
}
.modal-row .dropdown-select option {
    background-color: #fff;
    color: #333;
    padding: 8px;
    border-radius: 0 !important;
    border: none;
}
.modal-row .custom-textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    height: 50px;
}
.modal-row .custom-textarea2 {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    height: 40px;
}
.buttons-container {
    display: flex;
    justify-content: flex-end;
}
.buttons-container button:first-child {
    margin-right: 10px;
}
.buttons-container .custom-btn {
    padding: 10px;
    border: 1px solid #dbdbdb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}
.buttons-container #cancelButton {
    background-color: #fff;
    color: red;
}
.buttons-container #submit_button {
    background-color: #356bd4;
    color: #fff;
}
.buttons-container #submit_button2 {
    background-color: #356bd4;
    color: #fff;
}
.buttons-container #cancelButton:hover,
.buttons-container #submit_button2:hover,
.buttons-container #submit_button:hover {
    border: 2px solid #0f0f0f;
}
.buttons-container #cancelButton:active,
.buttons-container #submit_button2:active,
.buttons-container #submit_button:active {
    background-color: #dbdbdb;
}
.modal-row label {
    font-family: Mulish;
    font-size: 14px;
    color: #36344d;
    font-weight: 400;
}
.modal-row input,
.modal-row select,
.modal-row textarea {
    font-size: 14px;
}
td[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f9f9f9;
    color: #000;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
}
.no-data-text {
    font-family: Mulish;
    font-weight: 500;
    font-size: 18px;
    color: #2f1c6a;
    text-align: center;
}
.custom-button {
    padding: 16px 36px;
    border-radius: 8px;
    border: 2px solid transparent;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #eef2ff;
    color: #2f1c6a;
    transition: all 0.2s ease;
}
.custom-button:hover {
    background-color: #d6e0ff;
    box-shadow: 0 0 15px 0 #3f80ff;
}
.custom-button.selected {
    border: 2px solid #4a3aff;
    box-shadow: 0 0 8px #4a3aff;
}
.action-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.create-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}
.create-button:hover {
    background-color: #0056b3;
}
.action-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
}
.md-icon-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: 700;
}
@media (max-width: 600px) {
    .md-icon-button {
        top: 12px;
        right: 12px;
    }
}
.custom-table-header {
    font-family: Mulish;
    font-size: 14px;
    font-weight: 600;
    gap: 5px;
}
.faded-null {
    color: #999;
    font-style: italic;
    opacity: 0.7;
}

/* Responsive modal */

@media (max-width: 768px) {
    .modal-dayoff-content {
        width: 80%!important; /* Make modal wider for tablets */
        margin-top: 15%!important;
    }
}

@media (max-width: 480px) {
    .modal-dayoff-content {
        width: 90%!important; /* Almost full width for mobile modals */
        margin-top: 10%!important;
        border: 3px solid #E3E3E3!important; /* Thinner border */
    }
}