body {
    box-sizing: border-box;
    font-family: "SF Pro Display", sans-serif;
    margin: 0;
    padding: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    touch-action: pan-y; /* Izinkan vertical scroll pada child elements */
}
.scanner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
}
.scanner-overlay #scanner-qrcode {
    flex: 1;
    width: 100%;
    height: 100%;
}
.scanner-overlay #scanner-qrcode > div {
    width: 100% !important;
    height: 100% !important;
}
.scanner-overlay #scanner-qrcode video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.scanner-overlay .scanner-header {
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0px;
    padding-top: 1rem;
}
.scanner-overlay .scanner-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 3rem;
}
.scanner-overlay .scanner-footer .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 311px;
    height: 46px;
    background-color: #25a18e;
    color: #fff;
    border-radius: 6px;
    outline: none;
    border: none;
    box-shadow: none;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -0.43px;
}
.scanner-overlay .scanner-footer .btn-primary:active {
    background-color: rgba(37, 161, 142, 0.7);
}
