.books-filter {
    /* Filters bar */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 16px 20px;
    width: 100%;
    min-height: 70px;
    background: #FFFFFF;
    border-bottom: 1px solid #EAECF0;
    margin-bottom: 12px;
    border-radius: 8px !important;
}
.check-filter {
    /* Filters bar */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 16px 20px;
    width: 100%;
    min-height: 70px;
    background: #FFFFFF;
    border-bottom: 1px solid #EAECF0;
    margin-bottom: 12px;
    border-radius: 8px !important;
}
.books-filter-left {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    padding: 4px;
}
.books-filter-left h6 {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #101828;
    margin-bottom: 0;
}
.books-filter-left p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #475467;
}
.books-filter-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 4px;
}
.search-box-books {
    position: relative;
}
.books-search-input {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px 10px 42px !important;
    gap: 8px;
    max-width: 400px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px !important;
}
.search-box-books .fa-search {
    /* Icon */
    position: absolute;
    left: 16.5px;
    top: 14.5px;
    color: #667085;
}
.check-search-input {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px 10px 42px !important;
    gap: 8px;
    max-width: 800px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px !important;
}
.books-filter-select {
   padding: 12px 16px 12px 12px !important;
}
.check-filter-button {
    padding: 12px 16px 12px 12px !important;
}
.selectpicker {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px !important;
    gap: 8px;
    max-width: 120px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}
.selectpicker:focus-visible {
    outline: none;
}
/* Books table */

.books-table {
    /* Filters bar */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #EAECF0;
    margin-bottom: 12px;
    border-radius: 8px !important;
}
.books-table-head {
    background: #FCFCFD;
}
.books-table-head tr {
    border-bottom: 1px double #EAECF0 !important;
}
.books-table-head tr th {
    padding: 24px !important;
    color: #475467;
}

.books-table-body {
    background: #FFFFFF;
}
.books-table-body tr {
    border-bottom: 1px double #EAECF0 !important;
}
.books-table-body tr th {
    padding: 24px !important;
    color: #475467;
}
.books-table-body tr td {
    padding: 24px !important;
    color: #475467;
}

/* Buttons table */
.buttons-box-table {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-bottom-width: 0 !important;
}
.button-books-table {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 14px !important;
    gap: 8px;
    height: 36px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    margin: 5px;
}
.button-books-table:hover {
    background: #F5F6F8;
    cursor: pointer;
}

/* Pagination */
.books-table-pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    background: #FFFFFF;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px !important;
}

.books-table-pagination-numbers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background: #FFFFFF;
    border-radius: 8px !important;
}

.button-books-pagination {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px !important;
    gap: 8px;
    height: 36px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    margin: 2px;
}
.button-books-pagination:hover {
    background: #F5F6F8;
    cursor: pointer;
}
.books-table-pagination-numbers .active {
    background: #F5F6F8;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}
.books-table-pagination-numbers .active:hover {
    cursor: not-allowed;
}
.books-table-pagination .disabled:hover {
    background: #FFFFFF;
    cursor: not-allowed;
}

/* Animation */
.animation-loader {
    width: 100% !important;
    text-align: center;
    background-color: #fcfefc;
}
.animation-loader img {
    display: block;
    margin: 0 auto;
}

/* Search Empty */

.search-empty-table {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    padding: 40px 32px 48px;
    width: 100% !important;
}
.search-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}
.search-icon i {
    font-size: 48px;
    color: #667085;
    padding: 20px;
}
.search-empty-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}
.search-empty-text a {
    color: #3d65fb;
}
.search-empty-button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 5px;
}
.search-item-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 26px !important;
    gap: 8px;
    height: 36px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    margin: 2px;
}
.search-item-button:hover {
    background: #F5F6F8;
    cursor: pointer;
}

/* Modal */
.cartTitle {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #101828;
    margin-left: 10px;
}
.modal-content {
    border-radius: 8px !important;
    padding: 24px 24px 0;
    border: none;
}
.modal-icon {
    width: 56px;
    height: 56px;
    background: #D1FADF;
    border: 8px solid #ECFDF3;
    border-radius: 28px;
}
.modal-icon i {
    position: absolute;
    font-size: 20px;
    color: #1F9D55;
    padding: 10px;
}
.modal-icon-red {
    width: 56px;
    height: 56px;
    background: #FDDFDF;
    border: 8px solid #FDF0F0;
    border-radius: 28px;
}
.modal-icon-red i {
    position: absolute;
    font-size: 20px;
    color: #FF4B4B;
    padding: 10px;
}
.modal-header-custom {
    border-bottom: none !important;
    padding-bottom: 0;
}
.modal-footer-custom {
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    border-top: none !important;
    justify-content: center;
}
.modal-body h5 {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #101828;
    margin-bottom: 10px;
}
.modal-body p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #475467;
}
.button-modal-footer-close {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    gap: 8px;
    width: 200px;
    background: #ea1d0e;
    color: #fff;
    border: 1px solid #ea1d0e;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}
.button-modal-footer-close:hover {
    background: #c43025;
    border: 1px solid #c43025;
    color: #fff;
    cursor: pointer;
}
.button-modal-footer-cart {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    gap: 8px;
    width: 200px;
    background: #3d65fb;
    border: 1px solid #3d65fb;
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}
.button-modal-footer-cart:hover {
    background: #2c4db2;
    border: 1px solid #2c4db2;
    cursor: pointer;
}

.button-modal-footer-cart-order {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    gap: 8px;
    background: #1F9D55;
    border: 1px solid #1F9D55;
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    margin-left: 10px;
}
.button-modal-footer-cart-order:hover {
    background: #1d7944;
    border: 1px solid #1d7944;
    cursor: pointer;
}

.button-modal-footer-cart-order-form {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    gap: 8px;
    background: #1F9D55;
    border: 1px solid #1F9D55;
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    margin-left: 10px;
}
.button-modal-footer-cart-order-form:hover {
    background: #1d7944;
    border: 1px solid #1d7944;
    cursor: pointer;
}
.footer-buttons-right .disabled:hover {
    cursor: not-allowed;
}
.modal-cart-content-custom {
    padding: 24px 0;
}
.modal-cart-body-custom {
    margin-top: 20px;
    border-top: 1px solid #EAECF0;
    border-bottom: 1px solid #EAECF0;
}
.cart-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    width: 100% !important;
}

.modal-footer-cart-custom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.cart-form-button-custom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.cart-table-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}
.footer-buttons-right {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}
.button-modal-footer-clear {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    gap: 8px;
    background: #ea1d0e;
    border: 1px solid #ea1d0e;
    color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}
.button-modal-footer-clear:hover {
    background: #c43025;
    border: 1px solid #c43025;
    cursor: pointer;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-box {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);

}
.cart-box h2 {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #101828;
    margin: 15px 0;
}

.person-box {
    width: 100% !important;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.person-box h2 {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #101828;
    margin: 15px 0;
}

.input-custom-form {
    padding: 8px 12px;
    width: 250px;
    height: 40px;
    background: #FFFFFF;
    border-width: 1px 0 1px 1px;
    border-style: solid;
    border-color: #D0D5DD;
    border-radius: 8px 0 0 8px;
    text-indent: 12px;
}
.check-person-custom-button {
    padding: 10px 16px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 0 8px 8px 0;
}
.check-person-custom-button:hover {
    cursor: pointer;
    background: #F5F6F8;
}
.form-group label {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #101828;
    margin-bottom: 10px;
    display: block;
}
.form-switch-custom {
    margin-bottom: 25px;
    font-size: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}
.form-check-input-custom {
    height: 2em !important;
    width: 4em !important;
    margin-right: 10px;
}
.form-check-label-custom {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 19px;
    color: #101828;
}
.student-form {
    margin-bottom: 20px;
    display: none;
}
.person-form {
    margin-bottom: 20px;
    display: none;
}
.student-info-table {
    display: none;
}
.person-info-table {
    display: none;
}
.invalid-feedback-student {
    display: none;
    color: red;
}

.invalid-feedback-person {
    display: none;
    color: red;
}

.person-search-box-result {
    background-color: #fff;
    border-radius: 8px;
    padding: 0 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    margin-bottom: 20px;
    overflow: auto;
    max-height: 250px;
    width: 100%;
    display: none;
}
.person-search-box-result-title {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    margin: 15px 0;
    border-bottom: 1px solid #EAECF0;
}
.person-search-box-result-title h4 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #101828;
    margin: 5px 0;
}
.person-search-box-result-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.person-search-box-result-body-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
.person-search-box-result-body-item-name {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #101828;
    margin-bottom: 10px;
}
.person-search-box-result-body-item-name h5 {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    color: #101828;
}
.person-search-box-result-body-item-name span {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 19px;
    color: #101828;
}
.person-search-box-result-body-item-button-custom {
    padding: 10px 16px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    margin-left: 10px;
}
.person-search-box-result-body-item-button-custom:hover {
    cursor: pointer;
    background: #F5F6F8;
}

@media only screen and (max-width: 768px) {
    .books-search-input {
        max-width: 160px;
    }
    .books-table-pagination {
        flex-direction: column;
        justify-content: center;
    }
    .form-switch-custom{
        font-size: 12px;
    }
}
