/* scroll bar */
::-webkit-scrollbar-thumb {
    background: rgba(127, 143, 164, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

.float-right {
    float: right;
}

/* text */
.text-default {
    color: var(--primary-dark-blue);
}

.success-text {
    color: var(--success);
}

.error-text {
    color: var(--error);
}

/* dashboard */
.advertisement-img {
    width: 100%;
    margin-bottom: 1rem;
}

/* table */
.custom-header-button {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.outer-table-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.table-header {
    color: var(--primary-dark-blue);
    font-weight: bold;
    /* text-transform: uppercase; */
    font-size: 24px;
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 0, 1);
}

.search-input {
    border-radius: 0px 20px 20px 20px;
    border: 1px solid var(--light-gray);
    height: 45px;
    padding: 10px;
    width: 270px;
}

.show-add-modal {
    background-color: var(--primary-dark-blue);
    color: white;
    font-weight: bold;
    border-radius: 0px 20px 20px 20px;
    height: 45px;
    padding: 0px 12px;
    margin-left: 1rem;
    border: 1px solid var(--primary-dark-blue)
}

.custom-thead {
    background-color: var(--primary-dark-blue);
    border-radius: 0px 20px 0px 20px;
    color: white;
}

.custom-thead tr {
    border-radius: 0px 20px 0px 20px;
}

.custom-thead th:first-child {
    border-bottom-left-radius: 20px;
}

.custom-thead th:last-child {
    border-bottom-right-radius: 20px;
}

.custom-table {
    margin: 0rem;
}

.custom-table .card {
    background-color: transparent;
    box-shadow: none;
}

.custom-tbody {
    background-color: white;
}

tr:first-child {
    border-top: none;
}

.table {
    font-size: 11px;
}

.table> :not(caption)>*>* {
    padding: 0.2rem;
}

.edit-icon-btn {
    box-shadow: none;
    margin: 0px;
    padding: 3px 10px;
}

.edit-icon-btn:hover,
.edit-icon-btn:focus {
    box-shadow: none;
}

.edit-icon-btn:hover svg g,
.edit-icon-btn:hover svg path {
    opacity: 1;
}

/* form */
.custom-form-header {
    border-radius: 0px 0px 20px 20px;
    background-color: var(--primary-dark-blue);
    padding: 8px 20px;
    font-size: 24px;
    color: white;
}

.custom-form-header-back,
.custom-form-header-back-gray {
    position: absolute;
    background-color: white;
    height: 55px;
    width: 100%;
    z-index: -1;
}

.custom-form-header-back-gray {
    background-color: #B5B5B5;
    height: 62px;
}

.custom-form-header-w-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.custom-gray-thead {
    background-color: #B5B5B5;
    color: #575757;
}

.custom-form-body {
    background-color: white;
    padding: 10px 20px;
    min-height: 245px;
    height: 100%;
}

.custom-form-body input,
.custom-form-body select {
    border-radius: 0 20px 20px 20px;
}

/* modal */
.custom-modal-title {
    text-align: center;
    color: black;
    font-weight: 800;
    font-size: 20px;
    margin-top: 1rem;
    text-transform: uppercase;
    cursor: move;
}

.modal-body input {
    border-radius: 0px 10px 10px 10px;
}

.custom-body input {
    border-radius: 0px 20px 20px 20px;
    border: 1px solid var(--light-gray);
    height: 45px;
    padding: 10px;
}

.modal-body select,
.custom-body select {
    border-radius: 0px 10px 10px 10px;
}

.modal-footer {
    width: 100%;
    justify-content: space-between;
    padding: 0;
    border-top: none;
    margin-top: 2rem;
}

.secondary-main-btn {
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid var(--primary-dark-blue);
    color: var(--primary-dark-blue);
    padding: 8px;
    border-radius: 6px;
    background-color: white;
}

.primary-main-btn {
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid var(--primary-dark-blue);
    color: white;
    padding: 8px;
    border-radius: 6px;
    background-color: var(--primary-dark-blue);
}

.primary-bordered-main-btn {
    width: 150px;
    text-align: center;
    border: 1px solid var(--primary-dark-blue);
    color: white;
    padding: 8px;
    border-radius: 0px 20px 20px 20px;
    background-color: var(--primary-dark-blue);
}

.secondary-main-btn:hover,
.primary-main-btn:hover {
    opacity: 0.7;
}

.modal-footer .secondary-main-btn,
.modal-footer .primary-main-btn {
    width: 47%;
}

/* under construction */
.under-construction i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 110px;
}

.under-construction {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

.under-construction-title {
    margin-top: 8px;
    font-size: 24px;
}

select {
    height: 35px;
    border-radius: 0px 10px 10px 10px;
    padding: 0px 10px;
    border: 1px solid var(--light-gray);
}

/* pagination */
.custom-pagination-outer-div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.custom-pagination-div {
    display: flex;
    justify-content: center;
    margin-left: 1rem;
}

/* pincode */
.pincode-input-text {
    border: 1px solid #dddadb !important;
    background-color: transparent !important;
    width: 55px !important;
    height: 55px;
    border-radius: 10px;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .table thead th {
        padding: 8px;
    }

    .outer-table-header {
        flex-direction: column;
    }

    .search-input {
        margin-top: 0.5rem;
    }

    .show-add-modal {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .custom-header-button {
        align-items: start;
        flex-direction: column;
    }

    .custom-pagination-div {
        margin-top: 0.5rem;
    }

    .custom-form-header {
        font-size: 20px;
    }

    .custom-form-header-w-search .search-input {
        margin-top: 0;
    }

    /* pincode */
    .pincode-input-text {
        width: 45px !important;
        height: 45px !important;
    }

}
