.qr-page {
    padding-top: 0.5rem;
}

.qr-hero {
    margin: 1.5rem 0 2rem;
}

.qr-hero h1 {
    font-weight: 700;
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.qr-hero .lead {
    color: #5b6472;
}

.qr-card {
    border: none;
    border-radius: 1rem;
}

.btn-gradient {
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    border-radius: 0.5rem;
    transition: opacity 0.15s ease-in-out, transform 0.1s ease-in-out;
}

.btn-gradient:hover {
    opacity: 0.9;
    color: #fff;
}

.btn-gradient:active {
    transform: scale(0.98);
}

.btn-gradient:disabled {
    opacity: 0.6;
    color: #fff;
}

.qr-preview-panel {
    background: linear-gradient(180deg, #faf9ff, #f3f6ff);
    border: 1px dashed #d8d4f5;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-preview-placeholder {
    color: #9a94b8;
}

.qr-placeholder-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.qr-preview-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

.qr-image-frame {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(76, 29, 149, 0.12);
    display: inline-block;
}

.qr-image-frame img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    image-rendering: pixelated;
}

.qr-tips {
    background-color: #f8f9fb;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.qr-tips ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
    color: #5b6472;
}

.qr-tips li {
    margin-bottom: 0.4rem;
}

.qr-tips li:last-child {
    margin-bottom: 0;
}

.ad-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f4f5f7;
    border: 1px dashed #d7dae0;
    border-radius: 0.5rem;
    min-height: 90px;
    padding: 0.5rem;
    overflow: hidden;
}

.ad-slot-sidebar {
    min-height: 250px;
}

.ad-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9aa0ab;
    margin-bottom: 0.25rem;
}

.ad-placeholder {
    color: #b3b8c2;
    font-size: 0.85rem;
}
