body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #e0f2ff, #f5f7fb 55%, #e8e9ff);
    color: #222;
}

.page-wrapper {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.qr-card {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.13),
        0 1px 3px rgba(15, 23, 42, 0.08);
    padding: 24px 22px 26px;
    box-sizing: border-box;
}

.title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    color: #111827;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.field-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

textarea,
select {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 11px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background-color: #f9fafb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

textarea:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

textarea::placeholder {
    color: #9ca3af;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    padding: 11px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.primary-button:hover {
    filter: brightness(1.03);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.primary-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.qrcode-container {
    margin-top: 18px;
    text-align: center;
}

.qrcode-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    background: #ffffff;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    font-size: 14px;
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
    background-color: rgba(37, 99, 235, 0.06);
    transition: background-color 0.12s ease, color 0.12s ease;
}

.download-link:hover {
    background-color: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

@media (max-width: 480px) {
    .qr-card {
        padding: 18px 14px 20px;
    }

    .title {
        font-size: 20px;
    }
}


