.card-office {
    background-color: #F3F3F3;
    height: 125px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 4px 0 #00000025;
    transition: 0.2s;
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 1px solid;
}

.card-office.expand {
    height: 356px;
}

.card-office:hover {
    transform: scale(1.005);
    background: #e4eeff;
}

.card-office .card-head {
    display: flex;
    align-items: center;
    padding: 0 30px;
    height: 125px;
    width: 100%;
    position: relative;
    justify-content: space-between;
    gap: 10px;
}

.card-office .icon-content {
    height: 90px;
    width: 90px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
}

.pos-card .icon-content {
    background-color: #F3F3F3 !important;

}

.card-office .icon-content i {
    font-size: 40px;
}

.card-head .head-title {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    width: 66%;
    gap: 6px;
}

.card-head .head-title .h-title b {
    font-size: 16px;
    color: #000000;
}

.card-head .head-title .h-title p {
    font-size: 15px;
    margin: 0;
    color: #2b2b2b;
}

.card-head .detail-button button {
    background-color: rgb(27, 27, 27);
    color: white;
    width: 180px;
    height: 46px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
}

.card-head .detail-button button:hover {
    background-color: rgb(59, 59, 59);
}

.card-head .detail-button button:active {
    background-color: rgb(19, 19, 19);
}

.card-head .display-btn {
    position: absolute;
    bottom: 8px;
    left: 50%;
}

.card-head .display-btn button {
    color: #000000;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    border: none;
    transition: 0.2s;
}

span.expand {
    transition: 0.2s;
}

.card-head .display-btn button.rotate,
button span.rotate {
    transform: rotate(180deg);
}

.card-head .display-btn button:active {
    background-color: #00000020;
}

hr {
    border: solid 1px #ccc;
}

.card-body-custom {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    place-items: center;
    padding: 0 10px;
    gap: 8px;
}

.sub-card-amount {
    border: solid 1px;
    width: 250px;
    height: auto;
    background: white;
    border-radius: 16px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.145) 0px 4px 4px 0px;
    margin-bottom: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-body-custom .sub-card-amount .sub-card-head {
    font-size: 18px;
    color: black;
    margin-bottom: 6px;
}

.card-body-custom .sub-card-amount .sub-card-body .sub-total-amount,
.card-office .amount-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.card-body-custom .sub-card-amount .sub-card-body .sub-total-amount b,
.card-body-custom .sub-card-amount .sub-card-body .sub-total-amount p {
    font-size: 16px;
}

.card-body-custom .sub-card-amount .sub-card-body .sub-total-amount b,
.card-office .amount-content b {
    color: black;
}

.card-body-custom .sub-card-amount .sub-card-body .sub-total-amount p,
.card-office .amount-content p {
    text-align: end;
}

.card-office .amount-content b,
.card-office .amount-content p {
    font-size: 20px;
}

.card-office.expand-pos {
    height: 450px;
}

.card-office.pos-card {
    height: auto;
    width: 98%;
    margin: 0px auto;
    margin-bottom: 20px;
    background-color: white;
}

.card-office.pos-card .sub-card-amount {
    background-color: #F3F3F3;
}

.card-office.pos-card .card-head {
    display: grid;
    grid-template-columns: 150px auto;
    justify-content: normal;
}

.card-office.pos-card .card-head .head-title {
    width: 90%;
}

.card-office .total-amount-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
}

.rotate90 {
    transform: rotate(90deg);
}

.p-relative {
    position: relative !important;
}

.date-status-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-status {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    transition: 0.2s;
}

.date-status.success {
    background-color: green;
    animation: blinking 1s infinite;
}

.date-status.danger {
    background-color: rgb(255 13 13);
    animation: none;
}


@keyframes blinking {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}