/* ==========================================================================
   AURA Subpage Responsive Shell & Official Footer Stylesheet
   Strict Responsive Standards: PC Left Sidebar + Mobile Offcanvas Drawer + Global Footer
   ========================================================================== */

:root {
    --shell-sidebar-width: 260px;
    --shell-bg: #f8fafc;
    --shell-sidebar-bg: rgba(255, 255, 255, 0.98);
    --shell-border: rgba(226, 232, 240, 0.9);
    --shell-text: #0f172a;
    --shell-text-muted: #475569;
    --shell-text-sub: #64748b;
    --shell-primary: #3b82f6;
    --shell-hover-bg: rgba(0, 0, 0, 0.04);
    --shell-active-bg: rgba(59, 130, 246, 0.1);
    --shell-active-border: rgba(59, 130, 246, 0.3);
}

body.dark-mode, html.dark-mode {
    --shell-bg: #0b0f19;
    --shell-sidebar-bg: rgba(15, 23, 42, 0.96);
    --shell-border: rgba(255, 255, 255, 0.08);
    --shell-text: #f8fafc;
    --shell-text-muted: #94a3b8;
    --shell-text-sub: #64748b;
    --shell-hover-bg: rgba(255, 255, 255, 0.06);
    --shell-active-bg: rgba(59, 130, 246, 0.15);
    --shell-active-border: rgba(59, 130, 246, 0.4);
}

/* Base Shell Layout */
.aura-shell-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* ==========================================================================
   Desktop Left Sidebar (Floating Card / Width: 260px)
   ========================================================================== */
.aura-shell-sidebar {
    width: var(--shell-sidebar-width);
    position: fixed;
    top: 16px;
    left: 16px;
    bottom: 16px;
    height: calc(100vh - 32px);
    background: var(--shell-sidebar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--shell-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 950;
    overflow: hidden;
    padding: 16px 14px 12px 14px;
    box-sizing: border-box;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, background-color 0.25s;
}

body.dark-mode .aura-shell-sidebar,
html.dark-mode .aura-shell-sidebar {
    background: rgba(18, 22, 34, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* Sidebar Brand Header */
.sidebar-header {
    flex-shrink: 0;
    margin-bottom: 10px;
}

.sidebar-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: var(--shell-text) !important;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex: 1;
    min-width: 0;
}

.logo-area:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.brand-symbol-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.35));
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-brand-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--shell-text);
    white-space: nowrap;
}

body.dark-mode .logo-brand-title,
html.dark-mode .logo-brand-title {
    color: #f8fafc;
}

.tagline {
    font-size: 0.65rem;
    color: var(--shell-text-sub);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 1px;
    white-space: nowrap;
}

/* Sidebar Collapse Toggle Button (Desktop Only) */
.sidebar-collapse-toggle {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--shell-border);
    color: var(--shell-text-muted);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

body.dark-mode .sidebar-collapse-toggle,
html.dark-mode .sidebar-collapse-toggle {
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-collapse-toggle:hover {
    color: var(--shell-primary);
    border-color: var(--shell-primary);
    background: rgba(59, 130, 246, 0.08);
}

.sidebar-collapse-toggle i,
.sidebar-collapse-toggle svg {
    width: 15px;
    height: 15px;
}

.sidebar-collapse-toggle .icon-panel-open {
    display: none !important;
}

.sidebar-collapse-toggle .icon-panel-close {
    display: inline-flex !important;
}

.btn-sidebar-close {
    display: none;
    background: transparent;
    border: none;
    color: var(--shell-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

/* Login / 회원가입 CTA Button */
.auth-login-btn {
    width: 100%;
    border: 1.5px dashed var(--shell-border) !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: #2563eb !important;
    border-radius: 12px !important;
    padding: 9px 12px !important;
    margin-top: 10px !important;
    text-decoration: none !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

body.dark-mode .auth-login-btn,
html.dark-mode .auth-login-btn {
    color: #60a5fa !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.auth-login-btn:hover {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: #2563eb !important;
    transform: translateY(-1px);
}

.auth-login-btn i,
.auth-login-btn svg {
    width: 16px;
    height: 16px;
    color: inherit;
}

/* Navigation Scroll Wrapper */
.sidebar-nav-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
    margin-right: -4px;
    padding-right: 4px;
}

body.dark-mode .sidebar-nav-wrapper,
html.dark-mode .sidebar-nav-wrapper {
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.sidebar-nav-wrapper::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
body.dark-mode .sidebar-nav-wrapper::-webkit-scrollbar-thumb,
html.dark-mode .sidebar-nav-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation Structure */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 8px;
}

.nav-core-section {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
}

/* Category Groups & Headers */
.nav-category-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
}

.nav-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 4px 8px;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-category-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

body.dark-mode .nav-category-header:hover,
html.dark-mode .nav-category-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.category-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-icon {
    width: 13px;
    height: 13px;
    color: var(--shell-text-sub);
}

.cat-title {
    font-size: 0.70rem;
    font-weight: 800;
    color: var(--shell-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-badge {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--shell-text-muted);
}

body.dark-mode .cat-badge,
html.dark-mode .cat-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.cat-chevron {
    width: 13px;
    height: 13px;
    color: var(--shell-text-sub);
    transition: transform 0.2s ease;
}

.nav-category-group.collapsed .cat-chevron {
    transform: rotate(-90deg);
}

.nav-category-group.collapsed .nav-category-items {
    display: none;
}

.nav-category-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}

/* Nav Item (Button/Link) */
.nav-item,
.nav-item-link {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    width: 100%;
    color: var(--shell-text-muted);
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    box-sizing: border-box;
    text-decoration: none !important;
}

.nav-item i,
.nav-item svg,
.nav-item-link i,
.nav-item-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-item:hover,
.nav-item-link:hover {
    color: var(--shell-text);
    background: rgba(0, 0, 0, 0.03);
}

body.dark-mode .nav-item:hover,
body.dark-mode .nav-item-link:hover,
html.dark-mode .nav-item:hover,
html.dark-mode .nav-item-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item:hover i,
.nav-item:hover svg,
.nav-item-link:hover i,
.nav-item-link:hover svg {
    transform: translateX(2px);
}

.nav-item.active,
.nav-item-link.active {
    color: #2563eb !important;
    font-weight: 700 !important;
    background: rgba(37, 99, 235, 0.08) !important;
}

body.dark-mode .nav-item.active,
body.dark-mode .nav-item-link.active,
html.dark-mode .nav-item.active,
html.dark-mode .nav-item-link.active {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.12) !important;
}

.nav-item.active::before,
.nav-item-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3.5px;
    background: #2563eb;
    border-radius: 0 4px 4px 0;
}

body.dark-mode .nav-item.active::before,
html.dark-mode .nav-item.active::before {
    background: #60a5fa;
}

/* Category Item Badges (NEW & HOT & UPDATE) */
.item-pill-new {
    font-size: 0.60rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.35);
    margin-left: auto;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.item-pill-hot {
    font-size: 0.60rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    margin-left: auto;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.item-pill-update {
    font-size: 0.60rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.35);
    margin-left: auto;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

body.dark-mode .item-pill-update,
html.dark-mode .item-pill-update {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.45);
}

/* Bottom Control Toolbar (4 Icons in a row) */
.sidebar-footer {
    display: flex;
    gap: 8px;
    margin-top: 0;
    border-top: 1px solid var(--shell-border);
    padding-top: 10px;
    flex-shrink: 0;
}

.footer-btn {
    flex: 1;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--shell-border);
    border-radius: 10px;
    height: 34px;
    color: var(--shell-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

body.dark-mode .footer-btn,
html.dark-mode .footer-btn {
    background: rgba(255, 255, 255, 0.04);
}

.footer-btn:hover {
    color: var(--shell-text);
    border-color: var(--shell-primary);
    background: rgba(59, 130, 246, 0.08);
}

body.dark-mode .footer-btn:hover,
html.dark-mode .footer-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.footer-btn i,
.footer-btn svg {
    width: 17px;
    height: 17px;
}

/* ============================================================ */
/* COLLAPSED MINI SIDEBAR STATE (Desktop Mode)                  */
/* ============================================================ */
body.sidebar-collapsed .aura-shell-sidebar {
    width: 68px !important;
    padding: 14px 8px 10px 8px !important;
}

body.sidebar-collapsed .logo-text-wrap,
body.sidebar-collapsed .cat-title,
body.sidebar-collapsed .cat-badge,
body.sidebar-collapsed .cat-chevron,
body.sidebar-collapsed .nav-text,
body.sidebar-collapsed .item-pill-new,
body.sidebar-collapsed .item-pill-hot,
body.sidebar-collapsed .item-pill-update,
body.sidebar-collapsed .auth-login-btn span {
    display: none !important;
}

body.sidebar-collapsed .auth-login-btn {
    padding: 8px 0 !important;
    justify-content: center !important;
}

body.sidebar-collapsed .sidebar-header-top {
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

body.sidebar-collapsed .logo-area {
    justify-content: center;
    width: 100%;
}

body.sidebar-collapsed .logo-icon {
    width: 32px;
    height: 32px;
}

body.sidebar-collapsed .sidebar-collapse-toggle {
    width: 30px;
    height: 30px;
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
    color: #6366f1;
}

body.sidebar-collapsed .sidebar-collapse-toggle .icon-panel-open {
    display: inline-flex !important;
}

body.sidebar-collapsed .sidebar-collapse-toggle .icon-panel-close {
    display: none !important;
}

body.sidebar-collapsed .nav-category-header {
    justify-content: center;
    padding: 8px 0 4px 0;
    border-top: 1px solid var(--shell-border);
    margin-top: 6px;
}

body.sidebar-collapsed .nav-category-group:first-of-type .nav-category-header {
    border-top: none;
    margin-top: 0;
}

body.sidebar-collapsed .cat-icon {
    width: 15px;
    height: 15px;
}

body.sidebar-collapsed .nav-item,
body.sidebar-collapsed .nav-item-link {
    justify-content: center !important;
    padding: 10px 0 !important;
    gap: 0 !important;
    border-radius: 10px;
}

body.sidebar-collapsed .nav-item.active::before,
body.sidebar-collapsed .nav-item-link.active::before {
    left: 2px;
    height: 50%;
    top: 25%;
}

body.sidebar-collapsed .sidebar-footer {
    flex-direction: column;
    gap: 6px;
    padding-top: 6px;
}

body.sidebar-collapsed .footer-btn {
    height: 32px;
    padding: 0;
}

@media (min-width: 1025px) {
    .aura-shell-main {
        margin-left: calc(var(--shell-sidebar-width) + 32px);
        transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    body.sidebar-collapsed .aura-shell-main {
        margin-left: 100px !important;
    }
}

/* ==========================================================================
   Mobile Header Bar (< 1024px)
   ========================================================================== */
.aura-mobile-header {
    display: none; /* Hidden on Desktop */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--shell-sidebar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--shell-border);
    z-index: 850;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
}

.mobile-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-mobile-hamburger {
    background: transparent;
    border: none;
    color: var(--shell-text);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.btn-mobile-hamburger svg {
    width: 22px;
    height: 22px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--shell-text);
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap !important;
}

.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-mobile-home {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap !important;
}

/* Drawer Backdrop */
.aura-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 890;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.aura-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Main Content Wrapper
   ========================================================================== */
.aura-shell-main {
    margin-left: calc(var(--shell-sidebar-width) + 32px);
    transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--shell-bg);
    color: var(--shell-text);
}

.aura-shell-content {
    flex: 1;
    width: 100%;
}

/* ==========================================================================
   Official Global Footer
   ========================================================================== */
.aura-subpage-footer {
    width: 100%;
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid var(--shell-border);
    padding: 44px 24px 36px 24px;
    color: var(--shell-text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    box-sizing: border-box;
}

body.dark-mode .aura-subpage-footer,
html.dark-mode .aura-subpage-footer {
    background: rgba(10, 14, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

/* Universal footer reset: NEVER allow default browser blue, underlines or bullets */
.aura-subpage-footer a,
.aura-subpage-footer a:visited,
.aura-subpage-footer a:hover,
.aura-subpage-footer a:active {
    text-decoration: none !important;
}

.aura-subpage-footer ul,
.aura-subpage-footer ol,
.aura-subpage-footer li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-inner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--shell-border);
}

body.dark-mode .footer-top-row,
html.dark-mode .footer-top-row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.footer-brand-col,
.footer-brand-info {
    max-width: 420px;
    flex: 1 1 300px;
}

.footer-brand-logo,
.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: var(--shell-text) !important;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

body.dark-mode .footer-brand-logo,
body.dark-mode .footer-brand-title,
html.dark-mode .footer-brand-logo,
html.dark-mode .footer-brand-title {
    color: #f8fafc !important;
}

.footer-brand-desc {
    font-size: 0.8rem;
    color: var(--shell-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Multi-Column Links Grid */
.footer-links-grid {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    min-width: 110px;
}

.footer-group-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--shell-text);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

body.dark-mode .footer-group-title,
html.dark-mode .footer-group-title {
    color: #f1f5f9;
}

.footer-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-nav-list li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-nav-list a {
    font-size: 0.8rem;
    color: var(--shell-text-muted) !important;
    text-decoration: none !important;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
    cursor: pointer;
}

.footer-nav-list a:hover {
    color: var(--shell-primary, #6366f1) !important;
    text-decoration: none !important;
    transform: translateX(2px);
}

body.dark-mode .footer-nav-list a,
html.dark-mode .footer-nav-list a {
    color: #94a3b8 !important;
}

body.dark-mode .footer-nav-list a:hover,
html.dark-mode .footer-nav-list a:hover {
    color: #60a5fa !important;
}

/* Highlighted items such as privacy policy */
.footer-nav-list a.highlight,
.footer-nav-list a[href="/privacy"] {
    color: #3b82f6 !important;
    font-weight: 700;
}

.footer-nav-list a.highlight:hover,
.footer-nav-list a[href="/privacy"]:hover {
    color: #2563eb !important;
    text-decoration: none !important;
}

/* Older Horizontal Layout Support */
.footer-link-item {
    color: var(--shell-text-muted);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap !important;
    word-break: keep-all !important;
    transition: color 0.15s ease;
}

.footer-link-item:hover {
    color: #60a5fa;
    text-decoration: none !important;
}

.footer-divider-dot {
    color: var(--shell-text-sub);
    font-size: 0.7rem;
}

.footer-business-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.76rem;
    color: var(--shell-text-sub);
}

.business-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    white-space: nowrap !important;
}

.business-item strong {
    color: var(--shell-text-muted);
    font-weight: 600;
}

/* Bottom Row */
.footer-bottom-row,
.footer-copyright-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.74rem;
    color: var(--shell-text-sub);
    padding-top: 12px;
}

body.dark-mode .footer-bottom-row,
body.dark-mode .footer-copyright-row,
html.dark-mode .footer-bottom-row,
html.dark-mode .footer-copyright-row {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #64748b;
}

.footer-bottom-row .business-info,
.footer-bottom-row .copyright {
    font-size: 0.74rem;
    color: var(--shell-text-sub);
}

.footer-bottom-row strong {
    color: var(--shell-text-muted);
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-top-row {
        flex-direction: column;
        gap: 28px;
    }
    .footer-links-grid {
        gap: 24px;
        width: 100%;
        justify-content: space-between;
    }
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==========================================================================
   In-Iframe Handling (When embedded in main workspace)
   ========================================================================== */
html.in-iframe .aura-shell-sidebar,
body.in-iframe .aura-shell-sidebar,
html.in-iframe .aura-mobile-header,
body.in-iframe .aura-mobile-header,
html.in-iframe .aura-drawer-backdrop,
body.in-iframe .aura-drawer-backdrop,
html.in-iframe .aura-subpage-footer,
body.in-iframe .aura-subpage-footer,
html.in-iframe .hub-footer,
body.in-iframe .hub-footer,
html.in-iframe .aura-standalone-shell,
body.in-iframe .aura-standalone-shell,
html.in-iframe #floating-quick-bar,
body.in-iframe #floating-quick-bar,
html.in-iframe #aura-floating-quick-bar,
body.in-iframe #aura-floating-quick-bar,
html.in-iframe #aura-standalone-footer,
body.in-iframe #aura-standalone-footer {
    display: none !important;
}

html.in-iframe .aura-shell-layout,
body.in-iframe .aura-shell-layout {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
}

html.in-iframe .aura-shell-main,
body.in-iframe .aura-shell-main {
    margin-left: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
    min-height: auto !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1023px) {
    .aura-shell-sidebar {
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        border-radius: 0 !important;
        transform: translateX(-100%);
        z-index: 10000;
        width: 280px;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
    }

    .aura-shell-sidebar.open {
        transform: translateX(0);
    }

    .btn-sidebar-close {
        display: flex;
    }

    .aura-mobile-header {
        display: flex;
    }

    .aura-drawer-backdrop {
        display: block;
    }

    .aura-shell-main {
        margin-left: 0 !important;
        padding-top: 56px;
        width: 100%;
    }

    .footer-top-row {
        flex-direction: column;
        gap: 16px;
    }

    .footer-links-grid {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .aura-subpage-footer {
        padding: 30px 16px 28px 16px;
    }

    .business-row {
        gap: 8px;
        font-size: 0.72rem;
    }
}
