.d-none {
    display: none !important
}

label {
    margin: unset;
}

.cursor-pointer {
    cursor: pointer
}

.flex-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1rem
}

.flex-item {
    flex: 1;
    border-radius: 8px;
    border: 1px solid #E2E2E2;
    position: relative;

}

.flex-item>.input-box {

    height: 330px;
    border-radius: inherit;
}



.input-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.input-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.choose_option {
    display: inline-block;
    width: 100%;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #000;
}

.btn_section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 310px;
}

#urlToggle {
    text-align: center;
    position: relative;
    height: 52px;
    margin-top: 6px;
}

#urlToggle span {
    font-size: 14px;
    line-height: 20px;
    color: #C1C1C1;
}

#urlToggle p {
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    color: #333333;
    cursor: pointer;
    margin-bottom: unset;
    margin-top: 6px;
}

#urlToggle>.urlInputSection {
    max-width: 210px;
    height: 45px;
    margin-top: 6px;
}

.urlInputSection>.form-group {
    /* display: none; */
    margin-bottom: unset;
}

.custom.input-group-addon {
    background-color: #3ACD99 !important;

    color: white !important;
    border: none !important;
}

#inputURL {
    border: 1px solid #3ACD99;
    padding: 20px 8px !important;
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.input-action-btn {
    background: #EFF3F4;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    margin: unset;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.input-action-btn img {
    filter: brightness(0) invert(0);
}

#qr_scanner {
    height: 330px;
}

#qr_scanner:has(video)~.scanning-line {
    position: absolute;
    top: 50%;
    width: 73%;
    left: 13%;
    height: 4px;
    background: radial-gradient(red 24%, transparent 50%);
    animation: scanning 2s ease-in-out infinite alternate;
}

.permission-issue,
.camera-issue {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: black;
    font-size: 16px;
    text-align: center;
    max-width: 313px;
    margin: 0 auto;
    cursor: pointer;
}

#qr-canvas-visible,
video {
    width: 100% !important;
    height: 330px !important;
    background: none;
    object-fit: cover;
}

@keyframes scanning {
    0% {
        top: 25%;
    }

    100% {
        top: 75%;
    }
}

.error {
    color: red !important;
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
        /* Move up by 10px */
    }

    100% {
        transform: translateY(0);
        /* Move back to original position */
    }
}


.output-div {
    height: 100%;
    width: 100%;
    padding: 16px;
}

.dummy-text {
    max-width: 253px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #C1C1C1;
}

.qr_result_html {
    width: 100%;
    background: #F4F8F9;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

}

.qr_result_html a {
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    word-break: break-word;
}

.qr_result_html span {
    font-size: 16px;
    line-height: 24px;
    word-break: break-word;
}

.copy__text {
    cursor: pointer;
}


.reset__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    width: 32px;
    background: #fff;
    border-radius: 99px;
    padding: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0px 1px 3px 0px #00000040;
}

.reset__btn img {
    width: 20px;
    height: 20px;
}

@media (width <=640px) {
    .flex-row {
        flex-direction: column
    }

    #urlToggle {
        display: none;
    }

    .result-section {
        display: none;
    }
}

@media (width <=450px) {
    .btn_section {
        flex-direction: column-reverse;
        width: 260px;
    }

    .btn_section label,
    .btn_section div {
        width: 100%;
    }

    .btn_section>.input-action-btn {
        background-color: #000000;
        color: white;
    }

    .btn_section>.input-action-btn img {
        filter: brightness(0) invert(1);
    }

}