@media (max-width: 767px) {
    .col-3 {
        padding-left:10px;
        padding-right:10px;
    }

    .col-3 .card__title {
        font-size: 12px;
    }
}

.col-3 .card__title {
    text-align: center;
    text-transform: uppercase;
}

.qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8vh;
    z-index: 9999;
}
.hidden { display: none !important; }

.qr-modal__content {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    width: 100%;
    max-width: 380px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: modalSlideUp 0.25s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.qr-modal__close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.qr-modal__flag img {
    width: 70px;
    height: auto;
    margin-bottom: 16px;
}

.qr-modal__link {
    display: block;
    padding: 14px 18px;
    margin: 10px 0;
    background: #f6f6f6;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-modal__link:hover {
    background: #ececec;
}

.qr-direct-links {
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.qrcode-section.logo .row {
    display: flex;
    justify-content: center;
}

.qrcode-section.logo img {
    max-width:200px;
    width:25%;
}

.qrcode-section.title .row {
    display: flex;
    justify-content: center;
    text-align: center;
}

.qrcode-section.cards .row.card-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.col-3 {
    flex: 0 0 auto;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
