@font-face {
    font-family: 'Montserrat';
    src: url('../../../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Amiselly';
    src: url('../../../assets/fonts/Amiselly.ttf') format('truetype');
}

.show-qr-code {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(360deg);
    text-align: center;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(20%, -50%);
    height: 100%;
}

.cont-download-qr {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000000ab;
    width: 100%;
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    text-align: center;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
}

.cont-download-qr p {
    padding: 0;
    margin: 0;
}

.ctrdlqr {
    background: white;
    color: black;
    box-sizing: border-box;
    width: 95%;
    padding: 5px 0;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    max-width: 330px;
    margin-left: 5px;
    position: relative;
}

p.dljdl,
p.dldear,
p.dlnmtm,
p.dlhr,
p.dltgl,
p.dlnmtmpt,
p.dllokasi,
p.dlalmttmpt,
.dlktrqr,
.dlktrqr2,
p.dlcrdtlk,
#dldoc {
    font-family: "Montserrat", sans-serif;
}

p.dlalmttmpt,
.dlktrqr,
p.dlcrdtlk,
p.dljdl,
p.dltpacr,
p.dlown,
p.dldear,
p.dlnmtm {
    font-weight: normal;
}

p.dljdl {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: -0.6px;
}

.dldbg {
    background-image: url('../../../assets/photos/landscape2.jpg');
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 150px;
}

.dlovl {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: inherit;
    justify-content: center;
    background-color: #00000059;
}

p.dltpacr,
p.dlown {
    color: #fff;
}

.dlhr,
.dltgl,
.dllokasi,
.dlnmtmpt {
    font-weight: normal;
}

p.dltpacr {
    font-size: 20px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

p.dlown {
    font-family: "Amiselly", sans-serif;
    font-size: 35px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

p.dljdl,
p.dldear,
p.dlnmtm,
p.dlhr,
p.dltgl,
p.dlnmtmpt,
p.dllokasi,
p.dlalmttmpt,
.dlktrqr,
p.dlcrdtlk {
    color: #000;
}

.dlktrqr2 {
    color: red;
    padding-top: 5px;
    font-size:8px;
}

.dlktrqr {
    padding-bottom: 5px;
}

p.dldear,
p.dlnmtm {
    font-size: 13px;
    text-align: left;
}

p.dldear {
    padding: 15px 0 0 5px;
}

p.dlnmtm {
    margin: 0px 0px 15px 0px;
    padding: 0 0 5px 5px;
    border-style: dotted;
    border-width: 0px 0px 2px 0px;
}

.dldtl {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.dlctr1,
.dlctr2 {
    width: calc(50% - 5px);
    padding: 5px 10px;
}

p.dlhr,
p.dltgl,
p.dllokasi {
    font-size: 12px;
    text-align: left;
    -webkit-text-stroke: 0.7px;
}

p.dlnmtmpt,
p.dlalmttmpt,
.dlktrqr,
p.dlcrdtlk {
    font-size: 10px;
}

p.dlnmtmpt,
p.dljm {
    text-align: left;
}

p.dlnmtmpt {
    -webkit-text-stroke: 0.7px;
}

p.dlalmttmpt,
.dlktrqr,
p.dlcrdtlk {
    line-height: 15px;
}

p.dlalmttmpt {
    text-align: left;
}

.dlktrqr,
p.dlcrdtlk {
    text-align: center;
}

p.dllokasi {
    padding: 10px 0 0;
}

.dlftr {
    margin: 15px 0px 0px 0px;
    padding: 5px 0 5px 5px;
    border-style: dotted;
    border-width: 2px 0px 0px 0px;
}

#dldoc {
    display: inline-block;
    outline: none;
    cursor: pointer;
    font-size: 11px;
    padding: 0 12px;
    line-height: 1.9;
    height: 30px;
    max-height: 30px;
    background: #fff;
    font-weight: 700;
    border: 2px solid #DAE3F3;
    border-radius: 0;
    color: #272C34;
    transition-timing-function: ease-in-out;
    transition-property: box-shadow;
    transition-duration: 150ms;
    margin-top: 5px;
}

#dldoc:hover {
    box-shadow: 0 2px 2px rgb(39 44 52 / 12%);
}

.close-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 25px;
    position: absolute;
    top: 15px;
    right: 10px;
    padding: 0;
    margin: 0;
    line-height: 0;
    color: black;
}

.close-btn:hover {
    background: inherit;
    border: inherit;
    color: red;
    outline: none;
}

.close-btn:focus {
    outline: none;
}

#qrcode-checkin {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    cursor: pointer;
}

#qrcode-checkin canvas {
    width: 135px !important;
    height: 135px !important;
}

#zoomed-qr {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(38, 19, 18, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

#zoomed-qr {
    animation: fadeInZoom 0.3s ease-in-out;
}
  
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#zoomed-qr-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

  