html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    overscroll-behavior: none;
    display: flex;
    justify-content: center;
    align-items: start;
}

:root {
    --brandColor: #039289;
    --borderColor: #bcbcbc;
}

.assembleButton {
    background-color: var(--brandColor);
    border: none;
    width: 100%;
    display: block;
    padding: 15px 20px;
    border-radius: 5px;
    color: #fafafa;
    text-transform: uppercase;
    font-size: 15px;
    cursor: pointer;
}

.inputObjectValue{
    box-shadow: none; 
    overflow: hidden; 
    overflow-wrap: break-word; 
    resize: none; 
    text-align: start; 
    border-radius: 3px;
    border:1px solid var(--borderColor)
}

.inputObjectValue:focus {
    outline: 2px solid var(--brandColor);  /* warna outline */
    /* border-color: #;       samakan border */
}

.container {
    width: 100%;
    height: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.swiper-pagination {
    position: relative !important;
    width: 100%;
    height: fit-content;
    bottom: 0 !important;
    background: #fafafa;
    border-top: 0.5px solid #bcbcbc;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    box-sizing: border-box;
}

.swiper-pagination-bullet {
    display: flex;
    width: 70px !important;
    height: 60px !important;
    display: flex !important;
    justify-content: center !important;
    border-radius: 10px !important;
    align-items: center !important;
    background-color: transparent !important;
    filter: grayscale(300);
    opacity: 1 !important;
    margin: 10px 0 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    filter: grayscale(0);
}

.swiper-container {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    position: relative;
}

.swiper {
    animation: example 5s infinite alternate !important;
}

.swiper-slide {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0ms !important;
}

.header {
    width: 100%;
    height: auto;
    position: relative;
    box-sizing: border-box;
    padding: 20px 0;
    border-bottom: 0.5px solid #bcbcbc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header h2 {
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    color: var(--brandColor);
    letter-spacing: 5px;
}

.swiper-slide .swiper-content {
    width: 100%;
    height: 100%;
    padding: 20px 20px 20px !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: auto;
}

.fa-qrcode{
    position: absolute;
    right: 10px;
    padding: 6px 9px;
    background-color: #f0f0f0;
    color: var(--brandColor);
    border-radius: 3px;
}

#startScan{
    display: none;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: var(--brandColor);
}

.nav-btn i {
    font-size: 25px;
    font-weight: bolder;
    margin: 0 0 5px 0;
}

.displayHome{
    width: 100%;
    height: 100%;
    padding: 20px 20px 20px !important;
    box-sizing: border-box !important;
}

#scan-btn{
    display: none;
}

#desktop{
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.flying-button2 {
    position: fixed;
    bottom: 80px;
    /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    background-color: var(--brandColor);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.flying-button {
    position: fixed;
    bottom: 20px;
    /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    background-color: var(--brandColor);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.group-first-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 0 0;
}

.copy-btn {
    display: none;
    padding: 10px 25px;
    background-color: var(--brandColor);
    border: none;
    border-radius: 5px;
    color: #fafafa;
    font-weight: 600;
}

.hidden-copy-btn {
    display: hidden !important;
}

.show-copy-btn {
    display: block !important;
}

.qrResult {
    margin: 20px 0 0 0;
    width: 100%;
    height: auto;
    padding: 15px 25px;
    box-sizing: border-box;
    background-color: #ecf0ef;
    color: #2e2e2e;
    line-height: 20px;
    text-align: center;
    font-size: 11px;
    outline: none;
    border: 1.5px solid #cad2cd;
    border-radius: 5px;
    resize: none;
    overflow-wrap: break-word;
}

.rawQr {
    width: 100%;
    height: auto;
    padding: 15px 25px;
    box-sizing: border-box;
    background-color: #ecf0ef;
    color: #2e2e2e;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
    outline: none;
    border-top: none;
    border-left: 1.5px solid #cad2cd;
    border-bottom: 1.5px solid #cad2cd;
    border-right: 1.5px solid #cad2cd;
    resize: none;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    overflow-wrap: break-word;
}

.checksumResult {
    width: 100%;
    height: auto;
    padding: 15px 25px;
    box-sizing: border-box;
    background-color: #ecf0ef;
    color: #2e2e2e;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
    outline: none;
    border: 1.5px solid #cad2cd;
    border-radius: 5px;
    resize: none;
    /* overflow: hidden; */
    overflow-wrap: break-word;
}

.checksum-heading-text {
    width: 100%;
    height: auto;
    background-color: var(--brandColor);
    color: #fafafa;
    text-align: center;
    font-size: 15px;
    font-weight: medium;
    padding: 10px 5px;
    box-sizing: border-box;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.generate-qr-btn {
    margin: 10px 0 10px 0;
    background-color: var(--brandColor);
    color: #fafafa;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
}

.checksum-copy-btn {
    margin: 20px 0 0 0;
    width: 100%;
    height: auto;
    padding: 10px 15px;
    background-color: var(--brandColor);
    box-sizing: border-box;
    border-radius: 5px;
    border: none;
    color: #fafafa;
}

.drawForm {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.form-group input[type="text"],
input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.draw-btn {
    padding: 10px 20px;
    background-color: var(--brandColor);
    color: #fafafa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.reset-btn {
    padding: 10px 20px;
    background-color: #2e2e2e;
    color: #fafafa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(159, 159, 159, 0.5);
    backdrop-filter: blur(5px);
    overflow: auto;
}

.modal-content {
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fafafa;
    padding: 20px;
    box-sizing: border-box;
    border: 0.5px solid var(--borderColor);
    border-radius: 5px;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: fit-content;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 15px 20px;
    box-sizing: border-box;
    position: relative;
}

.image-placeholder img {
    width: 100% !important;
    height: 100% !important;
}

.modal-content img {
    border: 0.5px solid var(--borderColor);
    /* margin: 10px 0; */
}

.close {
    position: absolute;
    color: #aaa;
    top: 5px;
    right: 13px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.close-merge {
    position: absolute;
    color: #aaa;
    top: 5px;
    right: 13px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

#unique-placeholder {
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    color: #018216;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    background: #edeff0;
    border: 2px solid #018216;
    width: 17px;
    height: 17px;
    padding: 6px 6px;
    top: auto;
    left: auto;
}

#title-placeholder {
    display: none;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    color: #018216;
    text-align: center;
    text-transform: uppercase;
    /* background: #ff7104; */
    /* border-top: 1px solid #ff6004; */
    padding: 6px 25px 6px 25px;
    box-sizing: border-box;
    /* border: 0.5px solid var(--borderColor); */
    justify-content: center;
    align-items: center;
}

#unique-placeholder-merge {
    font-size: 17px;
    font-weight: bold;
    color: #1d1d1d;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
}

#title-placeholder-merge {
    display: none;
    font-size: 18px;
    font-weight: bold;
    color: var(--brandColor);
    text-align: center;
    text-transform: uppercase;
    background: #eaeceb;
    padding: 10px 25px 10px 25px;
    box-sizing: border-box;
    border: 0.5px solid var(--borderColor);
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}

#mydiv {
    position: absolute;
    z-index: 9;
    background-color: #f1f1f1;
    border: 1px solid #d3d3d3;
    text-align: center;
}

#mydivheader {
    padding: 10px;
    cursor: move;
    z-index: 10;
    background-color: #2196f3;
    color: #fff;
}

#mydiv.dragging {
    cursor: grabbing;
}

#restartButton {
    position: absolute;
    left: 10px;
    background-color: var(--brandColor);
    border: 0.5px solid var(--borderColor);
    border-radius: 5px;
    padding: 5px 10px;
    box-sizing: border-box;
    color: #fafafa;
}

#download {
    position: absolute;
    bottom: 20px;
    width: 80%;
    padding: 10px 25px;
    background-color: var(--brandColor);
    border: none;
    font-size: 15px;
    font-weight: bold;
    color: #fafafa;
}

#download-merge {
    position: absolute;
    bottom: 20px;
    width: 80%;
    padding: 10px 25px;
    background-color: var(--brandColor);
    border: none;
    font-size: 15px;
    font-weight: bold;
    color: #fafafa;
}

#mergeBtn {
    padding: 10px 15px;
    box-sizing: border-box;
    background-color: var(--brandColor);
    color: #fafafa;
    font-size: 14px;
    border-radius: 5px;
    margin: 50px 0 0 0;
    border: none;
    display: block;
}

.input-row {
    width: 100%;
    margin-bottom: 20px;
}

#assembleBtn {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 5px;
    background-color: var(--brandColor);
    color: #fafafa;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 0;
    box-sizing: border-box;
    border: none;
}

#default {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.input-group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.input-group input {
    width: 30%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.upload-container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.upload-container .wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.border {
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: #d2d2d2;
    margin: 40px 0;
}

.upload-container h4 {
    font-size: 15px;
    font-weight: 600;
    color: #2e2e2e;
    margin: 0;
    padding: 0;
}

.custom-file-upload {
    display: inline-block;
    color: #fafafa;
    background-color: var(--brandColor);
    padding: 5px 15px;
    box-sizing: border-box;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

#file-upload,
#client-upload-merge {
    display: none;
}

#file-list {
    margin-top: 20px;
    text-align: left;
}

#file-list p {
    margin: 5px 0;
}

#master-container {
    /* display: none; */
    width: 100%;
}

.merge-list {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #2b2b2b;
}

.alert-box {
    display: flex;
    margin: 15px 0 0 0;
    width: 100%;
    height: fit-content;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-items: center;
    font-size: 14px;
}

.alert-box i {
    font-size: 20px;
    margin-right: 15px;
}

.alert-box span {
    flex-grow: 1;
}

.error {
    background-color: #ffcccc;
    display: flex;
}

.error i {
    color: #ff5252;
}

.success {
    background-color: #ccffcc;
    display: flex;
}

.success i {
    color: #00cc66;
}

.display {
    display: flex;
}

.hidden {
    display: none;
}

.btn-area {
    width: 100%;
    height: auto;
    display: flex;
    gap: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #2e2e2e;
    border-bottom: .5px solid #7c7c7c;
}

.btn-area .btn {
    cursor: pointer;
    padding: 0 0 5px 0;
    box-sizing: border-box;
}

.btn-area .focusBtn {
    border-bottom: 3px solid var(--brandColor);
}

.display {
    width: 100%;
    height: auto;
    margin: 30px 0 0 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.display span {
    font-size: 13px;
}