/* หน้าสร้าง QR Code (pages/qrcode.php) — hero อยู่ใน page-hero.css (.qr-hero) */

/* QR Code Container */
.qr-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.qr-input-group {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}
.qr-input-group input {
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}
.qr-input-group input:focus {
    box-shadow: none;
}

.qr-display-area {
    background: rgba(0, 51, 102, 0.03);
    border: 2px dashed rgba(0, 51, 102, 0.2);
    border-radius: 16px;
    padding: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-display-area.has-content {
    border-style: solid;
    border-color: #ffd700;
    background: white;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

#qrcode {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
}

#qrcode img {
    margin: 0 auto;
}

.placeholder-content {
    text-align: center;
    color: #999;
}

#downloadSection { display: none; }   /* JS แสดงหลังสร้าง QR แล้ว */
