#main-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: space-between;
    height: 100dvh;
    width: 100%;
}

.header {
    display: flex;
    width: calc(100% - 20px);
    top: 0;
    left: 0;
    padding: 10px;
    z-index: 10;
}

.header .wrapper,
.footer .wrapper {
    border: 1px solid #e8e1f0;
}

.header .wrapper {
    display: flex;
    flex-direction: row;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
    flex: 1;
    width: calc(100% - 40px);
}

.header .left-area,
.header .right-area {
    display: flex;
    flex-direction: row;
    flex: 1;
    align-items: center;
}

.header .left-area .user-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.header .left-area .user-area .user-initial {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: #000000;
}

.header .left-area .user-area .user-information {
    display: flex;
    flex-direction: column;
}

.header .right-area {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: end;
}

.footer {
    display: flex;
    bottom: 0;
    left: 0;
    padding: 10px;
    z-index: 10;
    width: calc(100% - 20px);
}

.footer .wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px;
    border-radius: 8px;
    background-color: #ffffff;
    gap: 8px;
    position: relative;
    width: 100%;
}

.footer a.button-icon {
    flex: 1;
}

.main-button-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    flex: 1;
}

.main-button#mobile-nav-button {
    display: none;
}

.content-container {
    display: flex;
    padding: 0px 10px;
    gap: 10px;
    flex: 1;
}

.content-container .wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    flex: 1;
    gap: 10px;
}

.card {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px !important;
    height: 100%;
    max-height: 100%;
}

.card .left-area,
.card .right-area {
    display: flex;
    flex: 1;
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 14px;
    gap: 10px;
    overflow-y: scroll;
    height: fit-content;
}

.card .area-content {
    gap: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hidden scrollbar that still works */
.card .left-area,
.card .right-area {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.card .left-area::-webkit-scrollbar,
.card .right-area::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.card .title {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.card .title span:first-child {
    font-size: 16px;
}

.container-checkin {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    overflow-y: scroll;
}

.container-checkin::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.user-card {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    border: 1px solid #e8e1f0;
    padding: 8px;
    border-radius: 8px;
}

.user-card-one-column {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    align-items: start;
    border: 1px solid #e8e1f0;
    padding: 8px;
    border-radius: 8px;
}

.user-card .left-area {
    display: flex;
    padding: 0px;
    flex-direction: row;
    flex: 1;
    align-items: center;
    gap: 8px;
}

.user-card .right-area {
    display: flex;
    padding: 0px;
    width: fit-content;
    align-items: end;
}

.user-card .right-area .main-button {
    display: flex;
    width: fit-content;
}

.user-card .user-img {
    display: flex;
}

.user-card[user-img="true"] .user-initial {
    display: none;
}

.user-card[user-img="false"] .user-initial {
    display: flex;
}

.user-card[user-img="false"] .user-img {
    display: none;
}

.user-card .user-initial {
    display: flex;
    height: 38px;
    width: 38px;
    border-radius: 8px;
    background-color: #897bb9;
    justify-content: center;
    align-items: center;
}

.user-card .user-information {
    display: flex;
    flex-direction: column;
}

.user-card .user-img img {
    height: 38px;
    width: 38px;
    border-radius: 8px;
}

.header {
    position: sticky;
    top: 0;
}

.footer {
    position: sticky;
    bottom: 0;
}

.user-data {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.user-data .user-card {
    flex: 1;
}

.content-container#billing-detail .card .left-area {
    width: 300px;
    flex: unset;
}

.content-container#billing-detail .img-detail-area {
    width: 100%;
    display: flex;
}

.content-container#billing-detail .img-detail-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.modal .input-icon {
    flex: unset;
}

.modal .input-icon input {
    width: 100%;
}

.modal .input-icon img {
    height: 14.8px !important;
    width: 14.8px !important;
}

.multiple-button {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 14px;
}

.wrapper-form {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.wrapper-form .dropdown-title {
    flex: 1;
}

.right-area-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    height: fit-content;
}

.button-group-card {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.multi-select-btn {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.multi-select-btn a {
    justify-content: center;
}

.wrapper-btn {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.login-area {
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-login {
    max-width: 90dvw;
    width: 400px;
    height: fit-content;
    padding: 16px;
    border-radius: 8px;
    background-color: white;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 768px) {
    .main-button-wrapper {
        display: none;
    }

    .main-button#mobile-nav-button {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .main-button-wrapper.active-nav-menu {
        display: flex;
        position: absolute;
        bottom: 62px;
        left: 0;
        justify-content: center;
        background-color: white;
        flex-direction: column;
        padding: 10px;
        width: calc(100% - 20px);
    }

    #mobile-nav-button {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .content-container .wrapper {
        height: unset;
    }

    .card {
        flex-direction: column;
    }

    .user-card {
        flex-direction: row;
    }

    .user-card a.main-button {
        width: fit-content;
    }

    .user-card .left-area .content-container {
        width: 100%;
        height: unset;
        min-height: unset !important;
    }

    .user-card .right-area .content-container {
        height: unset;
        min-height: unset !important;
        width: 100%;
    }

    .card .left-area,
    .card .right-area {
        max-height: 400px;
        overflow-y: unset;
    }

    .content-container#billing-detail .card .left-area {
        width: unset;
        flex: 1;
        max-height: unset;
        height: fit-content;
        overflow-y: unset;
    }

    .card .left-area,
    .card .right-area {
        max-height: unset;
        overflow-y: unset;
    }

    .card {
        height: unset;
    }
}

@media screen and (max-width: 480px) {
    .header .left-area .user-area .user-information {
        display: none;
    }

    .content-container,
    .content-container .wrapper {
        height: fit-content;
    }

    .content-container .card {
        height: 100%;
    }

    .content-container .card .left-area {
        max-height: 400px;
    }

    .content-container .card .right-area {
        max-height: 400px;
    }

    .main-button-wrapper {
        border: 1px solid #e8e1f0;
        border-radius: 8px;
    }

    .content-container .wrapper {
        height: unset;
    }

    .user-card .right-area a.main-button {
        display: flex;
        flex: 1;
        justify-content: center;
        width: -webkit-fill-available;
    }

    .user-card {
        flex-direction: column;
    }

    .user-card .left-area .content-container {
        width: 100%;
        height: unset;
        min-height: unset !important;
    }

    .user-card .right-area .content-container {
        height: unset;
        min-height: unset !important;
        width: 100%;
    }

    .user-card {
        align-items: start;
    }

    .user-card .right-area,
    .user-card .left-area {
        width: 100%;
    }
    .user-card-1 .right-area,
    .user-card-1 .left-area {
        width: 100%;
    }

    .card .area-content {
        max-height: 400px;
        overflow-y: scroll;
    }

    .content-container#billing-detail .card .left-area {
        width: unset;
        flex: 1;
        max-height: unset;
        height: fit-content;
        overflow-y: unset;
    }

    .content-container#billing-detail .card .area-content {
        max-height: unset;
        overflow-y: unset;
    }

    .content-container#riwayat-pengunjung .card .right-area {
        max-height: 600px;
    }

    .content-container#riwayat-pengunjung .card .area-content {
        max-height: 600px;
    }

    .user-card.quantity-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .user-card.quantity-item .left-area {
        flex: 1;
        align-items: center;
    }

    .user-card.quantity-item .right-area {
        flex: 1;
        justify-content: end;
    }

    .button-group-card {
        width: 100%;
    }

    .button-group-card a {
        flex: 1;
    }

    .wrapper-form {
        flex-direction: column;
    }

    .multi-select-btn {
        grid-template-columns: repeat(2, 1fr);
    }

    .wrapper-btn {
        flex: 1;
        width: 100%;
    }

    #pengaturan .left-area {
        max-height: unset;
        height: unset;
        flex: unset;
    }

    .card-login {
        width: 100%;
        max-width: 82dvw;
    }
}
