﻿/* Main stylesheet */

/* Color variables */
:root {
    /* Dark green - used for main text */
    --ink: #012017;
    
    /* Medium green - used for labels and muted text */
    --muted: #02752e;
    
    /* Light transparent surface - background for panels */
    --surface: rgba(236, 255, 246, 0.84);
    
    /* Very light green-white - solid panel backgrounds */
    --surface-strong: #f7fff9;
    
    /* Bright green - accent color for buttons */
    --accent: #00a832;
    
    /* Subtle green border - divides sections */
    --border: rgba(8, 79, 53, 0.18);
    
    /* Soft shadow - used for depth/elevation */
    --shadow-soft: 0 18px 40px rgba(2, 97, 33, 0.18);
    
    /* Standard border radius - rounded corners */
    --radius: 18px;
}

/* Global styles */

/* Keep width calculations simple. */
* {
    box-sizing: border-box;
}

/* Page body */
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    position: relative;
    overflow-x: hidden;
    background-image: url("../images/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Main layout */
.app-layout {
    width: min(1220px, 94vw);
    margin: 28px auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    align-items: start;  /* Align columns to top */
}

/* Panels */
.panel {
    background: var(--surface);                    /* Light transparent background */
    backdrop-filter: blur(8px);                    /* Frosted glass effect */
    border: 1px solid var(--border);               /* Subtle green border */
    border-radius: var(--radius);                  /* Rounded corners (18px) */
    box-shadow: var(--shadow-soft);                /* Soft shadow for depth */
    padding: 24px;                                 /* Internal spacing */
}

#welcome-page {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

#welcome-page .welcome-title-row {
    display: block;
    margin: 0 0 14px;
}

#welcome-page .welcome-title {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.4rem, 2.2vw + 1.1rem, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    background: linear-gradient(120deg, #66be02 0%, #0197c5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center
}

#welcome-page .welcome-logo {
    position: absolute;
    top: -20px;
    right: 18px;
    width: clamp(180px, 18vw, 280px);
    height: auto;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

#welcome-page .welcome-kicker {
    margin: 0 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(0.86rem, 0.35vw + 0.8rem, 0.98rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(8, 116, 122, 0.9);
}

#welcome-page .welcome-subtitle {
    max-width: 36ch;
    margin: 0 auto 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.06rem, 0.65vw + 0.9rem, 1.32rem);
    font-weight: 600;
    line-height: 1.45;
    color: rgba(1, 38, 47, 0.9);
}

#welcome-page .welcome-section-title {
    margin: 0 0 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.2rem, 0.55vw + 1rem, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: #0f5f64;
}

#welcome-page .welcome-description {
    max-width: 62ch;
    margin: 0 auto 22px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(0.95rem, 0.28vw + 0.9rem, 1.02rem);
    line-height: 1.65;
    color: rgba(1, 32, 23, 0.78);
}

#welcome-page #businessCardCarousel {
    width: min(100%, 560px);
    margin: 0 auto;
}

#welcome-page #businessCardCarousel .carousel-inner img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#welcome-page #businessCardCarousel .carousel-control-prev,
#welcome-page #businessCardCarousel .carousel-control-next {
    width: 12%;
    opacity: 1;
}

#welcome-page #businessCardCarousel .carousel-control-prev-icon,
#welcome-page #businessCardCarousel .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.9);
    background-size: 65% 65%;
    filter: brightness(0) saturate(100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#welcome-page #businessCardCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#welcome-page #businessCardCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 165, 145, 0.24);
    box-shadow: 0 0 0 4px rgba(0, 140, 130, 0.18), 0 10px 20px rgba(0, 0, 0, 0.22);
    transform: scale(1.06);
}

/* Headings */
h1 {
    margin: 1;
    font-family: "Space Grotesk", sans-serif;                    /* Bold modern font */
    font-size: clamp(1.55rem, 1.3vw + 1.1rem, 2rem);            /* Responsive size */
}

/* Subheadings */
h2,
h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;  /* Bold modern font */
}

/* Text styles */

/* Subtitle */
.subtitle {
    margin: 10px 0 8px;
    color: var(--muted);        /* Medium green */
    font-size: 0.96rem;
}

/* Step counter */
.step-indicator {
    margin: 0 0 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);                          /* Dark green */
    font-family: "Space Grotesk", sans-serif;   /* Bold font */
}

/* Form elements */

/* Form grid */
.field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Form labels */
.field-grid label {
    margin-top: 8px;
    font-weight: 700;           /* Bold labels */
    font-size: 0.92rem;
}

/* Inputs and selects */
.field-grid input,
.field-grid select {
    width: 100%;
    border: 1px solid #9cd6b8;
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    color: #0d3c2b;
    background: #f7fff9;
    box-shadow: inset 0 1px 3px rgba(11, 75, 51, 0.08);  /* Subtle inner shadow */
}

.field-grid input.input-error {
    border-color: #d1495b;
    box-shadow: 0 0 0 2px rgba(209, 73, 91, 0.16);
}

/* Social controls */
.social-platforms {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.social-platform-item {
    flex: 1 1 0;
    display: grid;
    gap: 6px;
    align-content: start;
    padding: 8px;
    border: 1px solid #9cd6b8;
    border-radius: 12px;
    background: #f7fff9;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background: #ffffff;
    border: 1px solid #9cd6b8;
    color: #0f3d2d;
}

.social-icon-btn img {
    width: 20px;
    height: 20px;
}

.social-toggle-row {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
}

.social-toggle-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0a66c2;
    cursor: pointer;
}

/* Color input */
.field-grid input[type="color"] {
    padding: 4px;
    min-height: 44px;  /* Touch-friendly size (iPhone standard) */
}

/* Range input */
.field-grid input[type="range"] {
    accent-color: var(--accent);  /* Green color for filled area */
}

/* Two-column row */
.inline-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
    align-items: end;
}

/* Item inside inline row */
.inline-item {
    display: grid;
    gap: 8px;
}

/* Font control row */
.font-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
    background: linear-gradient(
        130deg,
        rgba(242, 255, 248, 0.95),
        rgba(219, 248, 234, 0.92)
    );
    border: 1px solid #9ad9bb;
    border-radius: 14px;
    padding: 12px;
    align-items: end;
}

/* Font column */
.font-col {
    display: grid;
    gap: 8px;
}

/* Remove extra label margin */
.font-col label,
.inline-item label {
    margin-top: 0;  /* Remove extra margin */
}

/* Buttons */

/* Base button */
button {
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    font-family: "Space Grotesk", sans-serif;      /* Bold font */
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    /* Smooth transitions for hover effects */
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        filter 0.22s ease;
}

/* Bootstrap-style buttons */
.btn {
    border-radius: 12px;
    padding: 11px 16px;
    min-height: 44px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        filter 0.22s ease;
}

/* Button hover */
button:hover,
.btn:hover {
    transform: translateY(-2px) scale(1.01);  /* Move up 2px and scale 101% */
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.2);
}

.field-grid .btn-sm.delete-btn {
    justify-self: end;
    width: auto;
    min-height: auto;
    padding: 4px 10px;
    font-size: 0.82rem;
}

/* Primary button */
.primary-btn {
    color: #fff;                          /* White text */
    background: linear-gradient(
        125deg,
        #00bb75 0%,      /* Bright green */
        #00a86b 52%,     /* Medium green */
        #008f5a 100%     /* Dark green */
    );
    box-shadow:
        0 10px 22px rgba(0, 143, 90, 0.42),     /* Shadow */
        inset 0 1px 0 rgba(255, 255, 255, 0.38); /* Inner highlight */
}

/* Primary button hover */
.primary-btn:hover {
    background: linear-gradient(
        125deg,
        #19ce88 0%,      /* Brighter green */
        #00b575 50%,
        #009f64 100%
    );
    box-shadow:
        0 14px 24px rgba(0, 143, 90, 0.5),      /* Stronger shadow */
        0 0 0 3px rgba(0, 168, 107, 0.16);      /* Green focus ring */
    filter: saturate(1.05);                     /* Slightly more vibrant */
}

/* Secondary button */
.secondary-btn {
    color: #0f3d2d;                       /* Dark green text */
    background: linear-gradient(
        122deg,
        #dbf8e9 0%,      /* Very light green */
        #c8f2dd 52%,     /* Light green */
        #b2eccc 100%     /* Lighter green */
    );
    box-shadow:
        0 10px 18px rgba(4, 106, 66, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);  /* Strong inner highlight */
}

/* Secondary button hover */
.secondary-btn:hover {
    background: linear-gradient(
        122deg,
        #c8f2dd 0%,
        #b3ecca 50%,
        #9be3b8 100%
    );
    box-shadow:
        0 14px 24px rgba(4, 106, 66, 0.32),
        0 0 0 3px rgba(0, 168, 107, 0.14);      /* Subtle focus ring */
    filter: saturate(1.06);
}

/* Full-width option button */
.option-btn {
    width: 100%;
    min-height: 44px;  /* Touch-friendly height */
}

#cardColor {
    min-height: 36px;
    padding: 2px 4px;
}

#backgroundButton {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.86rem;
}

/* Helper text */

/* Status text */
.meta-text {
    margin: 10px 0 0;
    font-size: 0.86rem;
    color: var(--muted);        /* Medium green */
    min-height: 1.1rem;         /* Reserve space for single line of text */
}

/* Sticky preview panel */
.preview-panel {
    position: sticky;
    top: 20px;
    align-self: start;
}

/* Preview heading */
.preview-panel h2 {
    margin-bottom: 14px;
}

/* Business card preview */

/* Card preview box */
.business-card {
    position: relative;
    width: min(100%, 480px);           /* Max 480px, responsive smaller */
    min-height: 270px;                 /* Minimum height for business card */
    padding: 22px;
    padding-top: 110px;                /* Extra top padding for logo space */
    border-radius: 20px;
    border: 1px solid rgba(196, 243, 220, 0.94);
    box-shadow: 0 20px 30px rgba(6, 96, 62, 0.26);
    background-color: #ffffff;         /* White default background */
    background-size: cover;            /* Background image fills card */
    background-position: center;       /* Center background image */
    overflow: hidden;                  /* Clip content to card shape */
    animation: fadeInUp 0.45s ease both;  /* Slide up + fade in animation */
}

/* Card text area */
.card-content {
    margin-top: 0;
    position: relative;
    z-index: 1;  /* Above logo */
}

/* Card name */
.card-content h3 {
    margin: 0 0 16px;
    font-size: 1.7rem;
}

/* Card text */
.card-content p {
    margin: 10px 0 0;
    font-size: 1rem;
}

/* Social links grid */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

/* Social link card */
.social-link-card {
    min-height: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 6px;
    color: #020202;
    background: rgba(111, 112, 112, 0.658);
    border: 1px solid rgba(4, 106, 66, 0.22);
    text-decoration: none;
}

.social-link-card img {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.social-link-text {
    display: block;
    width: 100%;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.social-link-card:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Card logo */

/* Logo image */
.card-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;              /* Don't crop - keep full logo */
    border-radius: 0;                 /* No rounding by default */
    background: transparent;
    border: none;
    position: absolute;
    top: 18px;
    right: 18px;                      /* Default: top-right position */
    z-index: 2;                       /* Above card content */
}

/* Logo on left */
.card-logo.logo-left {
    left: 18px;
    right: auto;
}

/* Logo on right */
.card-logo.logo-right {
    right: 18px;
    left: auto;
}

/* Logo with background */
.card-logo.has-bg {
    border-radius: 8px;
    border: 1.5px solid rgba(180, 220, 200, 0.7);
    padding: 4px;
}

/* Profile image */
.card-profile-image {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 0;
    background: transparent;
    border: none;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.card-profile-image.profile-image-left {
    left: 18px;
    right: auto;
}

.card-profile-image.profile-image-right {
    right: 18px;
    left: auto;
}

.card-profile-image.has-bg {
    border-radius: 8px;
    border: 1.5px solid rgba(180, 220, 200, 0.7);
    padding: 4px;
}

/* Logo settings */

/* Settings row */
.logo-settings-row {
    display: grid;
    grid-template-columns: auto 1fr auto;  /* First and last columns auto-width */
    gap: 16px;
    align-items: start;
    background: linear-gradient(
        130deg,
        rgba(242, 255, 248, 0.95),
        rgba(219, 248, 234, 0.92)
    );
    border: 1px solid #9ad9bb;
    border-radius: 14px;
    padding: 12px;
    margin-top: 4px;
}

/* Settings item */
.logo-settings-item {
    display: grid;
    gap: 6px;
}

/* Settings label */
.logo-settings-item label {
    margin-top: 0;
    font-size: 0.88rem;
}

/* Background controls row */
.logo-bg-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Small color picker */
.logo-bg-row input[type="color"] {
    width: 36px;
    height: 28px;
    padding: 2px;
    border-radius: 6px;
    border: 1px solid #9cd6b8;
    cursor: pointer;
}

/* Transparent option */
.logo-transparent-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;  /* Keep on one line */
}

/* Position buttons */
.position-selector {
    display: flex;
    gap: 10px;
}

/* Position option */
.position-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 0.88rem;
}

/* Modal */

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;              /* Center content */
    padding: 20px;
    background: rgba(7, 63, 42, 0.46); /* Semi-transparent dark green */
    z-index: 20;                       /* Above all other content */
}

/* Modal box */
.modal-content {
    width: min(560px, 100%);           /* Max 560px, responsive */
    max-height: 70vh;                  /* Max 70% of viewport height */
    overflow: auto;                    /* Scrollable if content is tall */
    background: var(--surface-strong); /* Light green-white background */
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 24px 50px rgba(7, 75, 48, 0.34);
}

/* Modal text */
.modal-content p {
    margin: 8px 0 12px;
    color: var(--muted);
}

/* Background image grid */
.background-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

/* Background option */
.bg-option {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

/* Background preview image */
.bg-option img {
    width: 100%;
    height: 94px;
    object-fit: cover;  /* Fill space, crop if needed */
    display: block;
}

/* Selected background option */
.bg-option.selected {
    border-color: var(--accent);  /* Green border */
    box-shadow: 0 10px 18px rgba(0, 143, 90, 0.4);  /* Green shadow */
}

/* Modal buttons */
.modal-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Utility classes */

/* Hidden element */
.hidden {
    display: none !important;
}

/* Step section */
.step-section {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hidden step */
.step-section.hidden {
    display: none;
}

/* Navigation buttons */

/* Button row */
.step-nav {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;  /* Align buttons to right */
}

/* Nav button */
.nav-btn {
    flex: 0 0 auto;              /* Don't grow/shrink */
    min-height: 54px;            /* Larger than standard buttons */
    padding: 14px 24px;
    font-size: 1.02rem;
    font-weight: 800;            /* Very bold */
    letter-spacing: 0.02em;      /* Slightly spaced letters */
}

/* Stronger nav shadow */
.step-nav .primary-btn,
.step-nav .secondary-btn {
    box-shadow:
        0 14px 24px rgba(0, 143, 90, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

/* Nav hover */
.step-nav .primary-btn:hover,
.step-nav .secondary-btn:hover {
    transform: translateY(-3px) scale(1.02);  /* Lift 3px instead of 2px */
}

/* Less top space without logo */
.business-card.no-logo {
    padding-top: 68px;  /* Reduced from 110px */
}

/* Footer */

/* Footer box */
footer {
    width: min(80%, 860px);
    margin: 14px auto 0;
    padding: 12px 0;
    text-align: center;
    background: linear-gradient(
        125deg,
        #00bb75 0%,
        #00a86b 52%,
        #008f5a 100%
    );
    border-radius: 12px;
}

/* Footer text */
.footer-text {
    margin: 0;
    padding: 10px 16px;
    color: #fff;
    font-size: 0.9rem;
}

/* Animations */

/* Card fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);  /* Start 16px lower */
    }

    to {
        opacity: 1;
        transform: translateY(0);     /* End at normal position */
    }
}

/* Responsive */

/* Tablet and mobile */
@media (max-width: 980px) {
    #welcome-page .welcome-title-row {
        margin-bottom: 12px;
    }

    #welcome-page .welcome-subtitle {
        margin-bottom: 14px;
    }

    #welcome-page .welcome-description {
        margin-bottom: 20px;
    }

    #welcome-page #businessCardCarousel {
        width: min(100%, 440px);
    }

    /* One column layout */
    .app-layout {
        grid-template-columns: 1fr;   /* Single column */
        margin: 16px auto 28px;
    }

    /* Show preview first */
    .preview-panel {
        order: -1;
    }

    /* Full width card */
    .business-card {
        width: 100%;
    }

    /* Stack font controls */
    .font-row {
        grid-template-columns: 1fr;
    }

    /* Stack inline inputs */
    .inline-pair {
        grid-template-columns: 1fr;
    }
}

/* Small mobile */
@media (max-width: 600px) {
    #welcome-page .welcome-title-row {
        margin-bottom: 10px;
    }

    #welcome-page .welcome-title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    #welcome-page .welcome-logo {
        top: -10px;
        right: 10px;
        width: clamp(120px, 34vw, 170px);
        height: auto;
        border-radius: 0;
    }

    #welcome-page .welcome-kicker {
        font-size: 0.8rem;
    }

    #welcome-page .welcome-subtitle {
        font-size: 0.98rem;
    }

    #welcome-page .welcome-section-title {
        font-size: 1.1rem;
    }

    #welcome-page .welcome-description {
        font-size: 0.93rem;
        line-height: 1.6;
    }

    #welcome-page #businessCardCarousel {
        width: 100%;
    }

    /* Mobile spacing */
    .app-layout {
        margin: 12px auto 20px;
        gap: 16px;
    }

    /* Smaller panel padding */
    .panel {
        padding: 16px;
    }

    /* Smaller heading */
    h1 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    /* Bigger mobile buttons */
    button,
    .btn {
        padding: 14px 18px;
        min-height: 44px;  /* iOS standard touch size */
        font-size: 1rem;
    }

    /* Stack nav buttons */
    .step-nav {
        flex-direction: column;
        gap: 12px;
    }

    .nav-btn {
        width: 100%;
        min-height: 48px;  /* Bigger on mobile */
    }

    /* Bigger form inputs */
    .field-grid input,
    .field-grid select {
        padding: 12px 14px;
        font-size: 16px;  /* Prevents auto-zoom on iOS */
        min-height: 44px;
    }

    /* Mobile labels */
    .field-grid label {
        font-size: 0.95rem;
    }

    /* Smaller subtitle */
    .subtitle {
        font-size: 0.88rem;
    }

    /* Smaller modal */
    .modal-content {
        width: min(90vw, 500px);
        max-height: 85vh;
        padding: 14px;
    }

    /* Mobile background grid */
    .background-gallery {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .bg-option img {
        height: 70px;
    }

    /* Stack logo settings */
    .logo-settings-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Mobile card spacing */
    .business-card {
        padding-top: 100px;
        min-height: 280px;
    }

    .business-card.no-logo {
        padding-top: 60px;
    }

    /* Mobile footer */
    footer {
        width: min(92%, 680px);
        margin-top: 10px;
        padding: 10px;
    }

    .footer-text {
        font-size: 0.85rem;
    }
}
