/* css variable */
:root {
    --khqr-bg-color: #f5f5f5;
    --khqr-text-color: #000;
    --khqr-border-color: #939393;
    --khqr-primary-color: #E1232E;
}

.khqr_modal .modal-dialog {
    justify-content: center;
    font-family: 'Noto Sans', sans-serif;
}

.khqr_modal .modal-dialog .modal-content .modal-body {
    padding: 2.5rem;
}

.khqr_modal .modal-dialog .modal-content {
    width: fit-content;
    max-width: 380px;
}

.qr_card {
    aspect-ratio: 20 / 29;
    position: relative;
    max-width: 300px;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0px 0px 16px hsl(0deg 0% 0% / 10%);
    margin-bottom: 8%;
}
.qr_header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--khqr-primary-color);
    height: 12%;
    position: relative;
}

.qr_header img {
    height: 32%;
}

.qr_header::after {
    background-color: var(--khqr-primary-color);
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    rotate: 45deg;
    right: -37px;
    bottom: -25px;
}

.qr_text {
    color: black;
    padding-block: 6%;
    padding-inline: 15%;
}
.qr_text .qr_company_name {
    margin: 0;
}
.qr_text .qr_amount {
    color: black;
    display: inline-block;
    margin: 0;
    font-weight: 500;
}

.qr_text .qr_currency {
    padding-inline: 0.5rem;
    font-size: 0.75rem;
}
.qr_canvas_container {
    margin-inline: calc(15% - 15px);
    margin-block: calc(13% - 15px);
}

.line-container {
    position: relative;
    height: 1px;
}
.line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, transparent 50%, var(--khqr-border-color) 50%);
    background-size: 15px 100%;
}
