body {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -1px;
}

.main-card-icon {
    width: 100px;
    height: 100px;
    font-size: 3.25rem;
    flex-shrink: 0;
}

.main-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

.main-card .card-body {
    overflow: visible;
}

.about-card .card-body {
    display: flow-root;
}

.about-section {
    margin-bottom: 3rem;
}

.qr-preview-panel {
    background: #fff;
    border: 2px dotted #ced4da;
    border-radius: 1rem;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.qr-preview-placeholder {
    text-align: center;
    padding: 1rem;
}

.qr-preview-icon {
    font-size: 4rem;
    color: #adb5bd;
    line-height: 1;
}

.qr-preview-output {
    line-height: 0;
}

.qr-preview-output img,
.qr-preview-output canvas {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.ad-slot {
    background: #eaeff2;
    border: 2px dashed #ced4da;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.ad-slot--adsense {
    background: transparent;
    border: none;
    min-height: 0;
    display: block;
    color: inherit;
    font-size: inherit;
    border-radius: 0;
}

.site-footer {
    background: #fff;
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

.site-footer .footer-panel {
    padding: 2rem 0;
}

@media (max-width: 767.98px) {
    .site-footer .footer-panel {
        display: none;
        padding-top: 0;
        padding-bottom: 2rem;
        border-top: none;
    }

    .site-footer .footer-panel.footer-panel--open {
        display: block;
    }

    .footer-mobile-reveal {
        padding: 0.5rem 0 1rem;
        cursor: pointer;
    }

    .footer-mobile-reveal:hover {
        color: var(--bs-secondary-color) !important;
    }

    .footer-mobile-reveal .footer-reveal-chevron {
        transition: transform 0.2s ease;
    }

    .footer-mobile-reveal--open .footer-reveal-chevron {
        transform: rotate(180deg);
    }
}

@media (min-width: 768px) {
    .footer-mobile-reveal {
        display: none !important;
    }

    .site-footer .footer-panel {
        display: block !important;
    }
}

footer .footer-inner {
    font-size: 0.75rem;
}

#qrsndr-success-alert {
    transition: opacity 0.6s ease;
}

#qrsndr-success-alert.qrsndr-success-alert--fade-out {
    opacity: 0;
}

#qrsndr-send-form .send-btn {
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

#qrsndr-send-form .send-btn .send-btn-fill {
    position: absolute;
    inset: 0;
    background-color: #212529;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s ease;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
}

#qrsndr-send-form .send-btn.send-btn--submitting .send-btn-fill {
    transform: scaleX(1);
}

#qrsndr-send-form .send-btn.send-btn--submitting {
    border: none;
    box-shadow: none;
}

#qrsndr-send-form .send-btn .send-btn-content {
    position: relative;
    z-index: 2;
}

form .row > [class*="col-"] {
    min-width: 0;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
