body {
    background: #f5f2ff;
    font-family: Inter, sans-serif;
}

.qr-generator-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    background: #fff;
    border-radius: 32px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}


/* HEADER */

.qr-header {
    display: flex;
    align-items: start;
    gap: 22px;
    margin-bottom: 30px;
}

.qr-logo {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6d4cff, #5b35ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 25px rgba(98, 71, 255, 0.3);
}

.qr-header h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
    color: #000;
    font-weight: 600;
}

.qr-header p {
    font-size: 18px;
    color: #000;
    font-weight: 500;
}


/* FORM */

.qr-form-group label,
.qr-customize-title,
.qr-option-box label,
.qr-slider-area label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
}

.QR-head {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
}

.qr-input-box {
    height: 60px;
    border: 2px solid #000;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    gap: 16px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
}

.qr-input-icon {
    font-size: 20px;
}

.qr-input-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    color: #000;
    /* background: transparent; */
    padding: 0;
}

.qr-input-box input[type="text"] {
    box-shadow: none !important;
}

.qr-form-group small {
    font-size: 16px;
    color: #000;
}


/* CUSTOMIZE */

.qr-customize-title {
    margin-top: 30px;
}

.qr-customize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.qr-color-box,
.qr-select-box {
    height: 60px;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 14px;
    background: #fafafa;
    border-radius: 10px;
}

.qr-color-box input[type="color"] {
    width: 45px;
    height: 35px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.qr-color-box span {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.qr-select-box select {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 18px;
    color: #374151;
}


/* RANGE */

.qr-slider-area {
    margin-top: 45px;
}

.qr-slider-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

#qr-size {
    width: 100%;
    accent-color: #6d4cff;
    height: 6px;
}

#qr-size::-webkit-slider-thumb {
    background: #6d4cff;
}

.qr-slider-row span {
    font-size: 22px;
    color: #667085;
}


/* STYLE CARDS */

.qr-style-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.qr-style-card {
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 25px 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
}

.qr-style-card.active {
    border-color: #6d4cff;
    background: #f5f1ff;
}

.style-icon {
    font-size: 36px;
    color: #6d4cff;
    margin-bottom: 10px;
}

.qr-style-card span {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}


/* BUTTON */

.qr-generate-btn {
    width: 100%;
    height: 90px;
    margin-top: 45px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(90deg, #5b35ff, #7b5cff);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 15px 30px rgba(98, 71, 255, 0.25);
}

.qr-generate-btn:hover {
    transform: translateY(-2px);
}


/* RIGHT PANEL */

.qr-right-panel {
    border: 2px solid #f0ecff;
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    background: #fff;
}

.qr-right-panel h2 {
    color: #6d4cff;
    font-size: 38px;
    margin-bottom: 35px;
}


/* QR BOX */

.qr-preview-box {
    background: #fafafa;
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 25px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcode img {
    width: 100% !important;
    max-width: 320px;
    height: auto !important;
}


/* URL */

.qr-preview-link {
    background: #f5f1ff;
    color: #5b35ff;
    padding: 16px 20px;
    border-radius: 999px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    word-break: break-all;
}


/* DOWNLOAD */

.qr-download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.download-btn {
    flex: 1;
    height: 70px;
    border-radius: 18px;
    border: 2px solid #7b5cff;
    color: #6d4cff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
}


/* FOOTER */

.qr-footer-text {
    display: flex;
    justify-content: center;
    gap: 14px;
    color: #667085;
    font-size: 18px;
    flex-wrap: wrap;
}


/* RESPONSIVE */

@media (max-width: 1200px) {
    .qr-generator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .qr-generator-wrapper {
        padding: 25px;
    }
    .qr-customize-grid {
        grid-template-columns: 1fr;
    }
    .qr-style-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .qr-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .qr-header h1 {
        font-size: 38px;
    }
    .qr-header p {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .qr-style-grid {
        grid-template-columns: 1fr;
    }
    .qr-header h1 {
        font-size: 32px;
    }
    .qr-logo {
        width: 70px;
        height: 70px;
    }
    .qr-right-panel {
        padding: 20px;
    }
}