:root {
    --qlii-primary: #C96F4A;
    --qlii-primary-dark: #9F5034;
    --qlii-primary-light: #F0C7B5;
    --qlii-accent: #E3B45C;
    --qlii-bg: #FAF6F1;
    --qlii-surface: #FFFFFF;
    --qlii-text: #28231F;
    --qlii-text-muted: #766C65;
    --qlii-border: #E8DDD5;
    --qlii-accentstrong: #C03A78;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.business-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    margin-top: 24px;
    position: relative;
}

.business-link {
    display: block;
    padding: 16px 20px;
    border-radius: 12px;
    background: #222;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
}
.business-link-icon {
    position: absolute;
    left: 18px;
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.business-link:hover {
        background: #333;
        color: white;
    }

.business-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    color: white;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
}
.business-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.business-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    text-align: center;
    padding: 28px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
}

.business-logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.business-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.business-description {
    margin-top: 16px;
    opacity: 0.8;
}

.business-location {
    margin-top: 12px;
    font-size: 0.95rem;
    opacity: 0.7;
}

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.language-link {
    padding: 6px 10px;
    border-radius: 999px;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.65;
}

    .language-link.active {
        background: rgba(255, 255, 255, 0.2);
        opacity: 1;
    }
.qr-card {
    max-width: 420px;
    margin: 60px auto;
    padding: 32px;
    text-align: center;
    border-radius: 24px;
    background: white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

    .qr-card h1 {
        margin-bottom: 8px;
    }

    .qr-card img {
        width: 280px;
        max-width: 100%;
        margin: 24px auto;
        display: block;
    }

    .qr-card p {
        margin: 8px 0;
    }
.qr-print-button {
    margin-top: 16px;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: #111;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

    .qr-print-button:hover {
        background: #333;
    }

@media print {
    .qr-print-button {
        display: none;
    }

    .qr-card {
        box-shadow: none;
        margin: 0 auto;
    }
}

.admin-business-list {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 32px 0;
}

.admin-business-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

    .admin-business-card strong {
        font-size: 1.15rem;
    }

    .admin-business-card span {
        color: #666;
    }

    .admin-business-card a {
        display: inline-block;
        margin-right: 12px;
        text-decoration: none;
        font-weight: 600;
    }

.admin-business-edit {
    display: grid;
    gap: 12px;
    max-width: 560px;
    margin-top: 24px;
    padding: 24px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

    .admin-business-edit label {
        font-weight: 600;
    }

    .admin-business-edit input[type="text"],
    .admin-business-edit select {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .admin-business-edit button {
        margin-top: 12px;
        padding: 12px 18px;
        border: 0;
        border-radius: 10px;
        background: #111;
        color: white;
        font-weight: 600;
        cursor: pointer;
    }

        .admin-business-edit button:hover {
            background: #333;
        }

.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.home-content {
    max-width: 760px;
}

.home-brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.home-content h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1;
    margin-bottom: 24px;
}

.home-content p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

.home-actions {
    margin-top: 32px;
}

.home-primary-button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 12px;
    background: #111;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

    .home-primary-button:hover {
        background: #333;
        color: white;
    }

.admin-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #ddd;
}

    .admin-nav a {
        text-decoration: none;
        font-weight: 600;
        color: #222;
    }

        .admin-nav a:hover {
            text-decoration: underline;
        }

.admin-business-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 28px;
}

    .admin-business-actions a {
        padding: 10px 16px;
        border-radius: 10px;
        background: #f1f1f1;
        color: #222;
        text-decoration: none;
        font-weight: 600;
    }

        .admin-business-actions a:hover {
            background: #ddd;
        }

.admin-status {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

    .admin-status.published {
        background: #e7f7ec;
        color: #187a36;
    }

    .admin-status.draft {
        background: #f3f3f3;
        color: #666;
    }

.qr-scan-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    text-align: left;
}

.qr-scan-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f5f5f5;
}

.admin-logout-form {
    margin: 0;
}

    .admin-logout-form button {
        border: 0;
        padding: 0;
        background: none;
        color: #222;
        font-weight: 600;
        cursor: pointer;
    }

        .admin-logout-form button:hover {
            text-decoration: underline;
        }

body {
    margin: 0;
    background: #fff;
    color: #111;
}

.business-body {
    margin: 0;
    padding: 0;
}

.site-header {
    border-bottom: 1px solid #eee;
    background: #fff;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.site-logo {
    color: #111;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.site-container {
    min-height: calc(100vh - 140px);
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.site-footer {
    padding: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eee;
}
.business-preview-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.admin-delete-button {
    margin-top: 32px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: #b42318;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

    .admin-delete-button:hover {
        background: #8f1c13;
    }

.app-body {
    margin: 0;
    min-height: 100vh;
    background: #f6f7f9;
}

.app-header {
    height: 72px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;
}

.app-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.app-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .app-nav a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
    }

    .app-nav form {
        margin: 0;
    }

    .app-nav button {
        border: 0;
        background: transparent;
        color: #666;
        cursor: pointer;
    }

.app-main {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 40px 0 80px;
}

@media (max-width: 700px) {
    .app-header {
        height: 64px;
        padding: 0 20px;
    }

    .app-main {
        width: calc(100% - 32px);
        padding-top: 28px;
    }

    .app-nav {
        gap: 14px;
    }

        .app-nav a {
            font-size: 0.9rem;
        }
}

.app-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

    .app-page-header h1 {
        margin: 0 0 6px;
        font-size: 2rem;
    }

    .app-page-header p {
        margin: 0;
        color: #777;
    }

.app-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

    .app-primary-button:hover {
        color: #fff;
        background: #333;
    }

.app-business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.app-business-card {
    display: block;
    padding: 22px;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .app-business-card:hover {
        color: inherit;
        transform: translateY(-2px);
        border-color: #ccc;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    }

.app-business-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-business-avatar {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f0f0f0;
    font-weight: 700;
    font-size: 1.2rem;
}

.app-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
}

    .app-status.published {
        background: #e8f7ed;
        color: #267a43;
    }

    .app-status.draft {
        background: #f1f1f1;
        color: #666;
    }

.app-business-card h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.app-business-location,
.app-business-category {
    margin: 4px 0;
    color: #777;
}

.app-business-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-weight: 600;
}

.app-empty-state {
    padding: 60px 30px;
    text-align: center;
    border: 1px dashed #ccc;
    border-radius: 16px;
    background: #fff;
}

    .app-empty-state h2 {
        margin-top: 0;
    }

    .app-empty-state p {
        color: #777;
        margin-bottom: 24px;
    }

@media (max-width: 700px) {

    .app-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .app-primary-button {
        width: 100%;
    }

    .app-business-grid {
        grid-template-columns: 1fr;
    }
}

.app-back-link {
    display: inline-block;
    margin-bottom: 14px;
    color: #777;
    text-decoration: none;
    font-weight: 500;
}

    .app-back-link:hover {
        color: #111;
    }

.app-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.app-dashboard-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr 24px;
    align-items: center;
    gap: 18px;
    min-height: 130px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .app-dashboard-card:hover {
        color: inherit;
        transform: translateY(-2px);
        border-color: #ccc;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    }

.app-dashboard-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f3f3f3;
    font-size: 1.4rem;
}

.app-dashboard-card h2 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.app-dashboard-card p {
    margin: 0;
    color: #777;
    line-height: 1.45;
}

.app-dashboard-arrow {
    color: #999;
    font-size: 1.2rem;
}

.app-publish-card {
    display: block;
      background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
     margin-top: 24px;
}

.app-publish-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-top: 20px;
}

.app-publish-actions form {
    margin: 0;
}

.app-publish-actions .app-primary-button,
.app-publish-actions .app-secondary-button {
    width: auto;
}
    .app-publish-card h2 {
        margin: 0 0 6px;
        font-size: 1.15rem;
    }

    .app-publish-card p {
        margin: 0;
        color: #777;
    }

    .app-publish-card form {
        margin: 0;
        flex-shrink: 0;
    }

.app-secondary-button {
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-weight: 600;
    cursor: pointer;
}

    .app-secondary-button:hover {
        background: #f5f5f5;
    }

.app-alert-error {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff0f0;
    color: #a43434;
}

@media (max-width: 800px) {

    .app-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .app-publish-card {
        flex-direction: column;
        align-items: stretch;
    }

        .app-publish-card button {
            width: 100%;
        }
}
.app-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.app-media-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
}

.app-media-card-wide {
    grid-column: 1 / -1;
}

.app-media-card-header {
    margin-bottom: 18px;
}

.app-media-card h2 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.app-media-card p {
    margin: 0;
    color: #777;
}

.app-media-preview {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f4f4f4;
    border-radius: 12px;
}

    .app-media-preview.logo {
        min-height: 180px;
    }

    .app-media-preview img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .app-media-preview.logo img {
        width: auto;
        height: auto;
        max-width: 80%;
        max-height: 130px;
        object-fit: contain;
    }

    .app-media-preview.video {
        min-height: 300px;
    }

    .app-media-preview video {
        width: 100%;
        max-height: 420px;
        background: #000;
    }

    .app-media-preview span {
        color: #aaa;
    }

.app-media-fields {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.app-file-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}

    .app-file-button:hover {
        background: #f7f7f7;
    }

    .app-file-button input {
        display: none;
    }

.app-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    cursor: pointer;
}

.app-form-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 800px) {

    .app-media-grid {
        grid-template-columns: 1fr;
    }

    .app-media-card-wide {
        grid-column: auto;
    }

    .app-form-actions .app-primary-button {
        width: 100%;
    }
}

.app-translation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.app-translation-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .app-translation-card:hover {
        color: inherit;
        transform: translateY(-2px);
        border-color: #ccc;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    }

.app-translation-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

    .app-translation-card-link:hover {
        color: inherit;
    }

.app-translation-card-header {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.app-language-code {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f1f1;
    font-size: .85rem;
    font-weight: 700;
}

.app-main-language-badge {
    padding: 5px 9px;
    border-radius: 20px;
    background: #eef3ff;
    color: #47639a;
    font-size: .75rem;
    font-weight: 600;
}

.app-translation-card h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.app-translation-title {
    display: block;
    margin-bottom: 6px;
}

.app-translation-subtitle {
    margin: 0 0 10px;
    color: #666;
}

.app-translation-description {
    margin: 0;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-translation-card-footer {
    margin-top: 18px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #eee;
}
    .app-translation-card-footer form {
        margin: 0;
    }

    .app-translation-card-footer a {
        display: inline-flex;
        align-items: center;
        color: #333;
        text-decoration: none;
        font-weight: 600;
        font-size: .9rem;
    }

        .app-translation-card-footer a:hover {
            color: #111;
            text-decoration: none;
        }

.app-translation-delete {
    padding: 7px 11px;
    border: 1px solid #ead4d4;
    border-radius: 8px;
    background: #fffafa;
    color: #a54b4b;
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

    .app-translation-delete:hover {
        background: #fff1f1;
        border-color: #dfbcbc;
        color: #853737;
    }

@media (max-width: 700px) {

    .app-translation-grid {
        grid-template-columns: 1fr;
    }
}

.app-link-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.app-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
}

    .app-link-card.disabled {
        opacity: .65;
    }

.app-link-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.app-link-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f3f3f3;
    font-size: 1.25rem;
}

.app-link-content {
    min-width: 0;
    flex: 1;
}

.app-link-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

    .app-link-title-row h2 {
        margin: 0;
        font-size: 1.05rem;
    }

.app-link-content strong {
    display: block;
    margin-bottom: 3px;
}

.app-link-url {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #888;
}

.app-link-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

    .app-link-actions form {
        margin: 0;
    }

.app-link-order-actions {
    display: flex;
    gap: 5px;
    margin-right: 6px;
}

.app-icon-button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

    .app-icon-button:hover {
        background: #f5f5f5;
    }

@media (max-width: 800px) {

    .app-link-card {
        flex-direction: column;
        align-items: stretch;
    }

    .app-link-actions {
        padding-top: 14px;
        border-top: 1px solid #eee;
        flex-wrap: wrap;
    }

        .app-link-actions .app-secondary-button {
            flex: 1;
            text-align: center;
        }
}

.app-qr-layout {
    display: grid;
    grid-template-columns: minmax(300px, 420px) 1fr;
    gap: 24px;
    align-items: start;
}

.app-qr-card {
    padding: 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
}

.app-qr-image {
    width: min(300px, 100%);
    margin: 0 auto 24px;
    padding: 18px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
}

    .app-qr-image img {
        display: block;
        width: 100%;
        height: auto;
    }

.app-qr-card h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.app-qr-code {
    margin: 0 0 22px;
    color: #888;
    font-family: monospace;
    letter-spacing: .08em;
}

.app-qr-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.app-qr-stat-card,
.app-qr-info-card {
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
}

.app-qr-stat-label {
    display: block;
    margin-bottom: 10px;
    color: #888;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.app-qr-stat-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    line-height: 1;
}

    .app-qr-stat-card strong.app-qr-date {
        font-size: 1.4rem;
    }

.app-qr-stat-card p {
    margin: 0;
    color: #777;
}

.app-qr-info-card {
    grid-column: 1 / -1;
}

    .app-qr-info-card h2 {
        margin: 0 0 8px;
        font-size: 1.1rem;
    }

    .app-qr-info-card p {
        margin: 0;
        color: #777;
        line-height: 1.55;
    }

@media (max-width: 800px) {

    .app-qr-layout {
        grid-template-columns: 1fr;
    }

    .app-qr-stats {
        grid-template-columns: 1fr;
    }

    .app-qr-info-card {
        grid-column: auto;
    }

    .app-qr-card .app-primary-button {
        width: 100%;
    }
}

@media print {

    body * {
        visibility: hidden !important;
    }

    .app-qr-card,
    .app-qr-card * {
        visibility: visible !important;
    }

    .app-qr-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

        .app-qr-card .app-primary-button {
            display: none !important;
        }

    body,
    .app-body {
        background: #fff !important;
    }
}

@media (max-width: 700px) {

    .app-form-card {
        padding: 20px;
    }

    .app-form-grid {
        grid-template-columns: 1fr;
    }

    .app-field-wide {
        grid-column: auto;
    }

    .app-form-actions {
        flex-direction: column-reverse;
    }

        .app-form-actions > * {
            width: 100%;
            text-align: center;
        }
}
.app-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 9px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}

    .app-nav-link:hover {
        background: #f4f4f4;
        color: #111;
    }

.app-nav-create {
    color: #111;
    font-weight: 600;
}

.app-nav-logout {
    margin: 0 0 0 8px;
    padding-left: 16px;
    border-left: 1px solid #e5e5e5;
}

    .app-nav-logout button {
        padding: 9px 0;
        border: 0;
        background: transparent;
        color: #888;
        font: inherit;
        font-weight: 500;
        cursor: pointer;
    }

        .app-nav-logout button:hover {
            color: #111;
        }

@media (max-width: 700px) {

    .app-nav-create {
        display: none;
    }

    .app-nav-link {
        padding: 8px;
        font-size: .85rem;
    }

    .app-nav-logout {
        margin-left: 2px;
        padding-left: 10px;
    }

        .app-nav-logout button {
            font-size: .85rem;
        }
}

.app-login-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-login-card {
    width: min(420px, 100%);
    padding: 36px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .05);
}

.app-login-brand {
    margin-bottom: 28px;
    font-size: 1.4rem;
    font-weight: 700;
}

.app-login-card h1 {
    margin: 0 0 8px;
}

.app-login-card > p {
    margin: 0 0 28px;
    color: #777;
}

.app-login-card form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.app-login-button {
    width: 100%;
    margin-top: 6px;
    border: 0;
    cursor: pointer;
}

.app-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.app-account-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.app-account-businesses {
    grid-column: 1 / -1;
}

.app-alert-success {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #eaf7ee;
    color: #267a43;
}

@media (max-width: 900px) {
    .app-account-grid {
        grid-template-columns: 1fr;
    }

    .app-account-businesses,
    .app-danger-zone {
        grid-column: auto;
    }
}
.home-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
}

.home-hero-content {
    width: min(760px, 100%);
}

.home-badge {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 7px 12px;
    border-radius: 20px;
    background: #f1f1f1;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: .95;
    letter-spacing: -.05em;
}

.home-hero-text {
    max-width: 620px;
    margin: 30px auto 0;
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
}

.home-hero-actions {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.home-primary-button,
.home-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 11px;
    font-weight: 600;
    text-decoration: none;
}

.home-primary-button {
    background: #111;
    color: #fff;
}

    .home-primary-button:hover {
        color: #fff;
        background: #333;
    }

.home-secondary-button {
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
}

    .home-secondary-button:hover {
        background: #f6f6f6;
        color: #111;
    }

.home-demo-link {
    display: inline-block;
    margin-top: 24px;
    color: #777;
    text-decoration: none;
}

    .home-demo-link:hover {
        color: #111;
    }

.home-features {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-feature {
    padding: 26px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
}

    .home-feature strong {
        display: block;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

    .home-feature p {
        margin: 0;
        color: #777;
        line-height: 1.5;
    }

.app-form-card {
    padding: 26px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
}

.app-form-section + .app-form-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.app-form-section h2 {
    margin: 0 0 20px;
    font-size: 1.1rem;
}

.app-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.app-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.app-field-wide {
    grid-column: 1 / -1;
}

.app-field label {
    font-weight: 600;
    color: #333;
}

.app-input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .app-input:focus {
        border-color: #999;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
    }

.app-field-help {
    color: #888;
    line-height: 1.45;
}

@media (max-width: 700px) {

    .home-hero {
        min-height: auto;
        padding-top: 60px;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-primary-button,
    .home-secondary-button {
        width: 100%;
    }

    .home-features {
        grid-template-columns: 1fr;
    }
}
.home-how {
    width: min(1100px, calc(100% - 40px));
    margin: 20px auto 90px;
}

.home-section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

    .home-section-heading > span {
        display: inline-block;
        margin-bottom: 10px;
        color: #777;
        font-size: .8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .home-section-heading h2 {
        margin: 0 0 14px;
        font-size: clamp(2rem, 5vw, 3.3rem);
        letter-spacing: -.04em;
    }

    .home-section-heading p {
        margin: 0;
        color: #777;
        font-size: 1.05rem;
        line-height: 1.6;
    }

.home-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-how-step {
    padding: 30px;
    background: #f7f7f7;
    border-radius: 18px;
}

.home-step-number {
    width: 42px;
    height: 42px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-weight: 700;
}

.home-how-step h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.home-how-step p {
    margin: 0;
    color: #777;
    line-height: 1.55;
}

.home-how-action {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

@media (max-width: 700px) {

    .home-how-grid {
        grid-template-columns: 1fr;
    }

    .home-how-action .home-primary-button {
        width: 100%;
    }
}

.home-business-types {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 90px;
}

.home-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-business-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .home-business-card:hover {
        transform: translateY(-2px);
        border-color: #ccc;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    }

.home-business-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f4f4f4;
    font-size: 1.5rem;
}

.home-business-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.home-business-card p {
    margin: 0;
    color: #777;
    line-height: 1.55;
}

@media (max-width: 850px) {

    .home-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .home-business-grid {
        grid-template-columns: 1fr;
    }
}

.seo-landing {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.seo-landing-header {
    max-width: 720px;
    margin-bottom: 40px;
}

    .seo-landing-header h1 {
        margin: 0 0 14px;
        font-size: clamp(2.2rem, 5vw, 4rem);
        letter-spacing: -.04em;
    }

    .seo-landing-header p {
        margin: 0;
        color: #777;
        font-size: 1.1rem;
        line-height: 1.6;
    }

.seo-business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.seo-business-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .seo-business-card:hover {
        color: inherit;
        transform: translateY(-2px);
        border-color: #ccc;
        box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
    }

    .seo-business-card > img {
        display: block;
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.seo-business-content {
    padding: 20px;
}

    .seo-business-content h2 {
        margin: 0 0 6px;
        font-size: 1.2rem;
    }

    .seo-business-content p {
        margin: 0;
        color: #777;
    }

@media (max-width: 700px) {
    .seo-landing {
        padding-top: 45px;
    }

    .seo-business-grid {
        grid-template-columns: 1fr;
    }
}

.app-danger-zone {
    grid-column: 1 / -1;
}

    .app-danger-zone h2 {
        margin: 0 0 6px;
        font-size: 1.1rem;
        color: #843d3d;
    }

    .app-danger-zone p {
        margin: 0;
        color: #8a6666;
    }

    .app-danger-zone form {
        margin: 0;
        flex-shrink: 0;
    }

.app-danger-button {
    padding: 11px 16px;
    border: 1px solid #dfbcbc;
    border-radius: 10px;
    background: #fff;
    color: #a13f3f;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .app-danger-button:hover {
        background: #fff0f0;
    }

@media (max-width: 700px) {
    .app-danger-zone {
        flex-direction: column;
        align-items: stretch;
    }

    .app-danger-button {
        width: 100%;
    }
}

.app-readiness-card {
    margin-top: 22px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
}

.app-readiness-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

    .app-readiness-header h2 {
        margin: 0 0 6px;
        font-size: 1.15rem;
    }

    .app-readiness-header p {
        margin: 0;
        color: #777;
    }

.app-readiness-status {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
}

    .app-readiness-status.ready {
        background: #e8f7ed;
        color: #267a43;
    }

    .app-readiness-status.incomplete {
        background: #fff3df;
        color: #9a641b;
    }

.app-readiness-list {
    display: flex;
    flex-direction: column;
}

.app-readiness-item {
    display: grid;
    grid-template-columns: 36px 1fr 20px;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    color: inherit;
    text-decoration: none;
    border-top: 1px solid #eee;
}

    .app-readiness-item:hover {
        color: inherit;
    }

.app-readiness-check {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

    .app-readiness-check.done {
        background: #e8f7ed;
        color: #267a43;
    }

    .app-readiness-check.missing {
        background: #fff3df;
        color: #9a641b;
    }

.app-readiness-item strong {
    display: block;
    margin-bottom: 2px;
}

.app-readiness-item p {
    margin: 0;
    color: #888;
    font-size: .9rem;
}

.app-publish-help {
    margin: 10px 0 0;
    color: #888;
    font-size: .9rem;
}

.app-card-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}

.app-flash {
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 500;
}

.app-flash-success {
    background: #eaf7ee;
    color: #24733e;
    border: 1px solid #ccebd5;
}

.app-flash-error {
    background: #fff0f0;
    color: #a33a3a;
    border: 1px solid #f2cccc;
}
.app-qr-premium-card {
    margin-top: 20px;
}

.app-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
    align-items: stretch;
}

.app-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .035);
}

.app-plan-card.current {
    border-color: #c96f4a;
    box-shadow: 0 14px 36px rgba(201, 111, 74, .10);
}
.app-plan-name {
    display: block;
    margin-bottom: 14px;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.app-plan-card > strong {
    display: block;
    margin-bottom: 18px;
    font-size: 1.45rem;
}

.app-plan-card > p {
    margin: 0 0 18px;
    color: #777;
    line-height: 1.55;
}

.app-plan-card ul {
    flex: 1;
    margin: 6px 0 26px;
    padding-left: 22px;
}

.app-plan-card li {
    margin-bottom: 10px;
    line-height: 1.45;
}

.app-plan-card form {
    margin-top: auto;
}

.app-plan-card .app-primary-button {
    width: 100%;
}

.app-plan-current {
    align-self: flex-start;
    margin: 0 0 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f1f3f1;
    color: #555;
    font-size: .82rem;
    font-weight: 600;
}

@media (max-width: 850px) {
    .app-plan-grid {
        grid-template-columns: 1fr;
    }
}

.app-account-offer-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 260px;
}

    .app-account-offer-actions form {
        margin: 0;
    }

    .app-account-offer-actions .app-primary-button,
    .app-account-offer-actions .app-secondary-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }

.business-link-disabled {
    cursor: not-allowed;
    opacity: .55;
    pointer-events: none;
}

.business-subscription-warning {
    margin: 14px 0 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    font-size: .88rem;
    font-weight: 600;
    text-align: center;
}

.app-select {
    width: 100%;
    max-width: 320px;
    padding: 11px 40px 11px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: .95rem;
    cursor: pointer;
    margin-bottom: 14px;
}

    .app-select:focus {
        outline: none;
        border-color: #999;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
    }

.app-login-help {
    margin-top: 10px;
    text-align: right;
}

    .app-login-help a {
        font-size: .9rem;
        color: #666;
        text-decoration: none;
    }

        .app-login-help a:hover {
            text-decoration: underline;
        }

.app-turnstile {
    margin: 18px 0;
}

.app-subscription-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
@media (max-width: 700px) {
    .app-subscription-summary {
        flex-direction: column;
    }
}

.app-manager-badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    background: #f2f2f2;
    border-radius: 6px;
    font-size: 0.92rem;
    color: #444;
}


.app-account-separator {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid #e8e8e8;
}

.app-account-section h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}


.app-qr-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-qr-actions .app-primary-button,
.app-qr-actions .app-secondary-button {
    min-width: 220px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}


.business-vcard-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    z-index: 10;
    transition: transform .15s ease, background-color .15s ease;
}

    .business-vcard-button:hover {
        transform: scale(1.05);
        background: #fff;
    }

    .business-vcard-button img {
        width: 20px;
        height: 20px;
    }

@media (min-width: 768px) {
    .business-vcard-button {
        display: none;
    }
}

.app-media-delete-button {
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

    .app-media-delete-button img {
        width: 16px;
        height: 16px;
        display: block;
    }