.business-auth-page[v-cloak] {
    display: none !important;
}

.business-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.business-auth-card {
    width: 100%;
    max-width: 720px;
    padding: 2rem 1.75rem 1.75rem;
}

.business-auth-logo {
    display: block;
    max-width: 180px;
    height: auto;
    margin: 0 auto 1.25rem;
}

.business-auth-subheading {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    min-height: 3rem;
}

.business-auth-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.business-auth-tile {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    min-height: 118px;
    padding: 1rem 0.5rem 0.85rem;
    background: transparent;
    cursor: pointer;
    border-bottom-width: 3px !important;
    border-bottom-style: solid;
    border-bottom-color: transparent !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    text-align: center;
}

.business-auth-tile:hover {
    transform: translateY(-2px);
}

.business-auth-tile:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.business-auth-tile.is-active {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.business-auth-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid;
    flex-shrink: 0;
}

.business-auth-tile-label {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.25;
    padding: 0 0.15rem;

    letter-spacing: 0.02em;
    padding-top: 0.25rem;
}

.business-auth-tile.is-active[data-mode="register"] {
    border-bottom-color: #059669 !important;
}

.business-auth-tile.is-active[data-mode="admin"] {
    border-bottom-color: #2563eb !important;
}

.business-auth-tile.is-active[data-mode="store"] {
    border-bottom-color: #d97706 !important;
}

/* Dark mode — guest layout uses body.dark */
body.dark .business-auth-tile {
    color: #e0e6ed;
    border-color: #3b3f5c !important;
    background-color: rgba(14, 23, 42, 0.45);
}

body.dark .business-auth-tile:hover {
    border-color: #515678 !important;
    background-color: rgba(59, 63, 92, 0.4);
}

body.dark .business-auth-tile-icon {
    border-color: #3b3f5c;
    background-color: rgba(59, 63, 92, 0.3);
    color: #bfc9d4;
}

body.dark .business-auth-tile-label {
    color: #e0e6ed;
}

body.dark .business-auth-tile.is-active {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

body.dark .business-auth-tile.is-active[data-mode="register"] {
    border-bottom-color: #10b981 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    background-color: rgba(16, 185, 129, 0.1);
}

body.dark .business-auth-tile.is-active[data-mode="register"] .business-auth-tile-icon {
    border-color: rgba(16, 185, 129, 0.5);
    background-color: rgba(16, 185, 129, 0.16);
    color: #34d399;
}

body.dark .business-auth-tile.is-active[data-mode="admin"] {
    border-bottom-color: #3b82f6 !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    background-color: rgba(59, 130, 246, 0.1);
}

body.dark .business-auth-tile.is-active[data-mode="admin"] .business-auth-tile-icon {
    border-color: rgba(59, 130, 246, 0.5);
    background-color: rgba(59, 130, 246, 0.16);
    color: #60a5fa;
}

body.dark .business-auth-tile.is-active[data-mode="store"] {
    border-bottom-color: #f59e0b !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    background-color: rgba(245, 158, 11, 0.1);
}

body.dark .business-auth-tile.is-active[data-mode="store"] .business-auth-tile-icon {
    border-color: rgba(245, 158, 11, 0.5);
    background-color: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}

.business-auth-submit {
    border-radius: 10px;
    font-weight: 600;
    color: #fff !important;
    border-width: 1px;
    border-style: solid;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.business-auth-submit:focus,
.business-auth-submit:focus-visible {
    color: #fff !important;
    box-shadow: none;
}

.business-auth-submit--register {
    background-color: #059669;
    border-color: #059669;
}

.business-auth-submit--register:hover,
.business-auth-submit--register:focus,
.business-auth-submit--register:active {
    background-color: #047857;
    border-color: #047857;
    color: #fff !important;
}

.business-auth-submit--admin {
    background-color: #2563eb;
    border-color: #2563eb;
}

.business-auth-submit--admin:hover,
.business-auth-submit--admin:focus,
.business-auth-submit--admin:active {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff !important;
}

.business-auth-submit--store {
    background-color: #d97706;
    border-color: #d97706;
}

.business-auth-submit--store:hover,
.business-auth-submit--store:focus,
.business-auth-submit--store:active {
    background-color: #b45309;
    border-color: #b45309;
    color: #fff !important;
}

body.dark .business-auth-submit--register {
    background-color: #10b981;
    border-color: #10b981;
}

body.dark .business-auth-submit--register:hover,
body.dark .business-auth-submit--register:focus,
body.dark .business-auth-submit--register:active {
    background-color: #059669;
    border-color: #059669;
}

body.dark .business-auth-submit--admin {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

body.dark .business-auth-submit--admin:hover,
body.dark .business-auth-submit--admin:focus,
body.dark .business-auth-submit--admin:active {
    background-color: #2563eb;
    border-color: #2563eb;
}

body.dark .business-auth-submit--store {
    background-color: #f59e0b;
    border-color: #f59e0b;
}

body.dark .business-auth-submit--store:hover,
body.dark .business-auth-submit--store:focus,
body.dark .business-auth-submit--store:active {
    background-color: #d97706;
    border-color: #d97706;
}

.business-auth-register-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}

.business-auth-step-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.business-auth-step-dot:hover {
    opacity: 0.6;
}

.business-auth-step-dot.is-active {
    opacity: 1;
    transform: scale(1.15);
    color: #059669;
}

body.dark .business-auth-step-dot.is-active {
    color: #34d399;
}

.business-auth-panels {
    margin-top: 0.25rem;
}

.business-auth-panel {
    animation: businessAuthFadeIn 0.22s ease;
}

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

@media (max-width: 576px) {
    .business-auth-card {
        padding: 1.5rem 1rem 1.25rem;
    }

    .business-auth-tiles {
        gap: 0.5rem;
    }

    .business-auth-tile {
        min-height: 100px;
        padding: 0.85rem 0.35rem 0.75rem;
    }

    .business-auth-tile-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .business-auth-tile-icon svg {
        width: 22px;
        height: 22px;
    }

}
