/* Global styles for the modern QR code generator */

/* Use Poppins font (imported via index.php) */
body {
    background: linear-gradient(135deg, #e9efff, #f6f7fb);
    font-family: 'Poppins', sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Wrapper with glassmorphism effect */
.qr-generator-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

/* Gradient text used for headings */
.text-gradient {
    background: linear-gradient(90deg, #4e8cfb, #a077ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* QR preview area */
.qr-preview {
    text-align: center;
}

.qr-preview canvas,
.qr-preview svg {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Gradient button used for generate action */
.gradient-btn {
    background-image: linear-gradient(90deg, #4e8cfb, #a077ff);
    border: none;
    color: #fff;
    transition: background-position 0.3s ease;
    background-size: 200% 100%;
}

.gradient-btn:hover {
    background-position: 100% 0;
    color: #fff;
}

/* Adjust form spacing */
.form-section {
    margin-bottom: 1.5rem;
}

/* Alerts spacing */
.alert {
    margin-top: 1rem;
}