/* APP CUSTOMIZE CSS */

body{
    background-color: #f0f2f5 !important;
}

.touchable:hover{
    cursor: pointer;
}

.touchable__opacity:hover{
    cursor: pointer;
    opacity: 75%;
}

.btn {
    border-radius: 0.35rem !important;
    box-shadow: none !important;
}

.card{
    border: none !important;
    box-shadow: none !important;
    border-radius: 0.45rem !important;
}
.card-body{
    padding: 1.25rem !important;
}

.modal-content{
    padding: 1rem !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
}
.modal-title{
    font-weight: bold !important;
}
.modal-footer{
    background-color: #ffffff !important;
}

.avatar-sm img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #eeee;
}

.product__card{
    padding: 1rem !important;
    border-radius: 0.5rem !important;
}
.product__thumbnail{
    width: 45px;
    height: 45px;
    border-radius: 0.55rem;
    overflow: hidden;
    border: 1.55px solid #eee;
}
.product__image{
    object-fit: cover;
}
.product__name--ellipsis{
    font-size: 0.85rem;
    font-weight: 500;
    width: 315px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: none;
    word-wrap: nowrap;
    white-space: normal;
    text-overflow: ellipsis;
}

.product__thumbnail {
    position: relative;
    overflow: hidden;
}
.product__thumbnail:hover .view__overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.image__preview-container {
    position: relative;
    overflow: hidden;
}
.image__preview-container:hover .view__overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.view__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
    border-radius: inherit;
}
.view__overlay-icon {
    background: rgba(255, 255, 255, 0.90);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}
.view__overlay-icon svg {
    color: #0f172a;
}
.icon__sm{
    width: 25px !important;
    height: 25px !important;
}
.icon__md{
    width: 35px !important;
    height: 35px !important;
}

/* Select Customize */
select, ::picker(select) {
    appearance: base-select !important;
    overflow: hidden !important;
    cursor: pointer !important;
}
::picker(select) {
    border: none !important;
    margin: 0.4rem 0 !important;
    border-radius: 0.35rem !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}
::picker-icon {
    display: none !important;
}
option {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    padding: 0.5rem 1rem !important;
}


/* Page Loader */
#page__loader {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 92.5vh;
    background: rgba(255, 255, 255, 1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #212529;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.5s linear infinite;
}

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


/* Table Customize */
.table-responsive thead th{
    white-space: nowrap !important;
}
.table__main{
    border: 1px solid #eeeeee !important;
    border-radius: 1rem !important;
}
.table__scroll {
    max-height: 75vh;
    overflow-y: auto;
}
.table__scroll thead {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}
.table__nowrap tr td{
    white-space: nowrap !important;
}
table{
    box-shadow: none !important;
    margin: 0 !important;
}
table tr th{
    font-weight: 600 !important;
}
table tr td{
    vertical-align: middle !important;
}

