.check-billings {
    width: calc(59% + 1vh);
    height: calc(68% + 1vh);
    display: none;
    position: relative;
    margin: 8% auto;
    background-color: #e5e5e5;
    border-radius: 12px;
    border: 6px solid #d7d7d7;
    overflow: hidden;
}

.check-billings-search-wrapper {
    display: flex;
    width: 21%;
    height: 3%;
    position: absolute;
    margin-top: 0.4%;
    margin-left: 9%;
}

.check-billings-search-icon {
    font-size: 1.2vh;
    padding: 4px;
}

input.check-billings-search-input {
    border: none;
    outline: none;
    border-bottom: 1px solid var(--box-shadow-color);
    margin-left: 2%;
    background: transparent;
    color: black;
}


.check-billings-close-screen {
    display: flex;
    padding: 15px;
    width: 12%;
    height: 8%;
    position: absolute;
    text-align: center;
    margin-left: 84%;
    opacity: 0.7;
    margin-top: 3%;
}

p.close-button-text {
    float: left;
    margin-top: 0%;
    margin-right: 2%;
    width: fit-content;
    height: 88%;
    padding: 3px 8px;
    border-radius: 5px;
    background-color: var(--box-shadow-color);
}

p.close-button-text-right {
    margin-top: 2px;
    margin-left: 4%;
}

.check-billings-header {
    text-align: center;
    width: 100%;
    height: 11%;
    position: relative;
    top: 6%;
    font-size: 4vh;
    /* letter-spacing: 10px; */
    font-weight: 600;
}

.check-billings-wrapper {
    border-top: 1px solid #d9d7d7;
    width: 82%;
    height: 75%;
    overflow: hidden auto;
    padding: 0px;
    position: relative;
    margin: 2% auto;
}




.check-billings-box {
    background: var(--box-bg-color);
    float: left;
    width: 30%;
    height: 29%;
    margin: 1%;
    border-radius: 10px;
}

.check-billings-box-icon {
    background: #eaedfb;
    width: 14%;
    height: 26%;
    border-radius: 4px;
    text-align: center;
    padding: 10px;
    float: left;
    margin-top: 5%;
    margin-left: 5%;
    backdrop-filter: drop-shadow(2px 4px 6px var(--box-shadow-color));
}

.check-billings-box-header {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 65%;
    height: 22%;
    margin-top: 6%;
    margin-left: 23%;
}

.check-billings-box-createddate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 33%;
    height: 9%;
    margin-top: -3%;
    margin-left: 23%;
    font-size: 1vh;
    opacity: 0.76;
}

.check-billings-box-id {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 65%;
    height: 9%;
    margin-top: -4%;
    margin-left: 60%;
    font-size: 1vh;
    opacity: 0.76;
}

.check-billings-box-id i {
    margin-right: 2%;
}


.check-billings-box-from {
    margin-left: -14%;
}

.check-billings-box-tiny.check-billings-box-from i {
    padding: 3px;
    margin-right: 2%;
}

.check-billings-box-tiny {
    width: fit-content;
    max-width: 42%;
    height: 19%;
    display: flex;
    text-align: left;
    margin-top: 4%;
    background-color: #d9dbe9;
    /* background-color: var(--page-bg-color); */
    font-size: 1.2vh;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 6px 8px;
    float: left;
    margin-left: 3%;
    border-radius: 6px;
}

.check-billings-box-tiny:first-child {
    margin-left: 3%;
    margin-top: 4%;
}

.check-billings-box-tiny.check-billings-box-amount {
    background: #d0ffcc;
}

.billings-unpaid {
    background: #ff000082;
}

.billings-paid {
    background: #00ff7282;
}

.check-billings-box-view-detail {
    background: var(--button-color);
    width: fit-content;
    max-width: 25%;
    height: fit-content;
    margin-top: 19%;
    margin-left: 6%;
    padding: 6px 12px;
    display: flex;
    border-radius: 6px;
    font-size: 1.2vh;
    text-align: center;
    transition: .1s all;
}

.check-billings-box-view-detail:hover {
    background-color: var(--hover-bg);
    cursor: pointer;
}

.check-billings-box-view-detail i {
    padding: 3px;
}


.check-billings-selectable {
    width: 27%;
    height: 5%;
    display: flex;
    margin-left: 8%;
    margin-top: 4%;
    margin-bottom: 0%;
}

.check-billings-selectable-box {
    margin: 0 auto;
    background: var(--box-shadow-color);
    width: fit-content;
    padding: 10px 19px;
    border-radius: 6px;
    font-size: 1.2vh;
    transition: .1s all;
}

.check-billings-selectable-box:hover {
    background-color: var(--hover-bg);
    cursor: pointer;
}

.billings-selectable-active-box {
    background-color: var(--hover-bg);

}

.check-billings-details {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    background: rgba(14, 13, 13, 0.568);
}

.check-billings-details-wrapper {
    width: 45%;
    height: 80%;
    margin: 8% auto;
    background-color: #ede9e9;
    border-radius: 12px;
}


.check-billings-details-box {
    width: 39%;
    height: 19%;
    margin: 2%;
    margin-left: 6%;
    background-color: var(--box-bg-color);
    /* border: 0.1px solid; */
    float: left;
}

.check-billings-details-box-header {
    font-size: 1.2vh;
    font-weight: 700;
    width: 65%;
    height: 15%;
    margin-top: 10%;
    margin-left: 11%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.check-billings-details-box-value {
    border: none;
    outline: none;
    background-color: transparent;
    border-bottom: 1px solid gray;
    width: 75%;
    margin-top: 3%;
    margin-left: 11%;
}

.check-billings-details-row {
    width: 88%;
    height: 43%;
    margin: 0 6%;
    margin-top: 0.5rem;
    position: relative;
    background-color: var(--box-shadow-color);
    /* border: 1px solid green; */
    float: left;
    overflow: auto;
}

.check-billings-details-row-box {
    position: relative;
    width: 90%;
    height: 15%;
    margin: 0 auto;
    display: flex;
    margin-top: 3%;
}


.check-billings-details-row-box-qty {
    width: 9%;
    margin-right: 5%;
    outline: none;
    background: #e3d8d8;
    outline: none;
    border: none;
    border-bottom: 1px solid gray;
    text-align: center;
    padding: 8px;
    /* text-overflow: ellipsis; */
    overflow: hidden;
}


.check-billings-details-row-box-header {
    width: 55%;
    margin-right: 5%;
    outline: none;
    background: #e3d8d8;
    outline: none;
    border: none;
    border-bottom: 1px solid gray;
    text-align: left;
    padding: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.check-billings-details-row-box-price {
    width: fit-content;
    max-width: 28%;
    margin-right: 5%;
    outline: none;
    background: #e3d8d8;
    outline: none;
    border: none;
    border-bottom: 1px solid gray;
    text-align: center;
    height: 100%;
    padding: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.check-billings-details-buttons {
    height: 8%;
    width: 100%;
    margin-top: 2%;
    float: inline-end;
    display: flex;
}


.check-billings-details-button {
    margin: 0 auto;
    background: var(--box-shadow-color);
    width: 21%;
    text-align: center;
    padding: 11px;
    height: 100%;
    font-size: 1.3vh;
    border-radius: 5px;
    transition: .1s all;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: fit-content;
    max-width: 34%;
    padding: 13px
}

.billings-details-confirm {
    background: var(--button-color);
}

.billings-details-confirm:hover {
    background: var(--hover-bg);
    border: 1px solid var(--hover-border);
    cursor: pointer;
}

.billings-details-return:hover {
    background-color: #e63030;
    border: 1px solid #ff0303;
    cursor: pointer;
}