/* =========================================
   QR CODE CARD
========================================= */

.jh-qrcode-card {
    background: white;
    border: 1px solid #d9e2ec;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* =========================================
   FORM
========================================= */

.jh-qrcode-form {
    display: flex;
    flex-direction: column;
}

.jh-input-label {
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.jh-qrcode-input {
    min-height: 180px;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    padding: 16px;
    resize: vertical;
    outline: none;
    font-size: 15px;
}

    .jh-qrcode-input:focus {
        border-color: #4da3ff;
    }

/* =========================================
   BUTTONS
========================================= */

.jh-generate-button,
.jh-download-button {
    height: 50px;
    padding: 0 24px;
    border: none;
    border-radius: 12px;
    background-color: #4da3ff;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.jh-generate-button {
    margin-top: 20px;
}

    .jh-generate-button:hover,
    .jh-download-button:hover {
        background-color: #2388f5;
    }

/* =========================================
   RESULT
========================================= */

.jh-qrcode-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#qrcode {
    background: white;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #d9e2ec;
    min-width: 292px;
    min-height: 292px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 992px) {

    .jh-qrcode-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    #qrcode {
        min-width: auto;
        width: 100%;
    }
}
