/* =========================================================
   JCB SHOP MANAGEMENT — FULL STYLESHEET
   ========================================================= */

/* =========================================================
   1. VARIABLES
   ========================================================= */
:root {
    --jcb-navy: #071b33;
    --jcb-navy-2: #0b2340;
    --jcb-yellow: #ffbd17;
    --jcb-yellow-hover: #ffc52e;
    --jcb-page: #f4f7fb;
    --jcb-border: #e5ebf2;
    --jcb-text: #172b4d;
    --sidebar-width: 240px;
    --header-height: 56px;
}

/* =========================================================
   2. RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background: var(--jcb-page) !important;
    color: var(--jcb-text);
    -webkit-font-smoothing: antialiased;
}

body.app-body {
    height: 100vh;
    overflow: hidden;
}

/* =========================================================
   3. APP SHELL
   ========================================================= */
.app-shell {
    display: flex;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    width: 100%;
}

/* =========================================================
   4. SIDEBAR
   ========================================================= */
.app-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    height: 100vh;
    max-height: 100vh;
    background: var(--jcb-navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    position: static;
    transform: none;
    transition: none;
}

.app-sidebar-brand {
    height: var(--header-height);
    min-height: var(--header-height);
    background: var(--jcb-navy-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    flex-shrink: 0;
}

.jcb-logo-mini {
    width: 62px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    border: 2px solid var(--jcb-yellow);
    border-radius: 3px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.5px;
}

.app-sidebar-close {
    display: none;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #94a3b8;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background 0.15s;
}
.app-sidebar-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.app-sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 12px;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.app-sidebar-nav::-webkit-scrollbar { width: 5px; }
.app-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.app-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.16);
    border-radius: 10px;
}

.app-sidebar-promo {
    flex-shrink: 0;
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.app-sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-sidebar-nav ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 38px !important;
    padding: 9px 11px !important;
    margin-bottom: 3px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: background-color 0.15s, color 0.15s !important;
}

.app-sidebar-nav ul li a.text-gray-300 {
    color: #b7c5d6 !important;
    background: transparent !important;
}
.app-sidebar-nav ul li a.text-gray-300:hover {
    background: rgba(255, 255, 255, 0.075) !important;
    color: #fff !important;
}

.app-sidebar-nav ul li a.bg-brand-600 {
    background: var(--jcb-yellow) !important;
    color: var(--jcb-navy) !important;
    font-weight: 700 !important;
}
.app-sidebar-nav ul li a.bg-brand-600:hover {
    background: var(--jcb-yellow-hover) !important;
}

.app-sidebar-nav ul li.border-t {
    border-color: rgba(255, 255, 255, 0.09) !important;
}

.app-sidebar-nav ul li span.text-gray-500 {
    color: #667c96 !important;
    font-size: 10px !important;
    letter-spacing: 0.08em;
}

.sidebar-icon {
    width: 19px;
    min-width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
}

.sidebar-arrow {
    margin-left: auto;
    font-size: 11px;
    opacity: 0.65;
}

.app-sidebar-nav ul li a.bg-brand-600 .sidebar-icon { color: var(--jcb-navy); }
.app-sidebar-nav ul li a.text-gray-300 .sidebar-icon { color: #B8C5D6; }
.app-sidebar-nav ul li a.text-gray-300:hover .sidebar-icon { color: #FFFFFF; }

/* =========================================================
   5. MAIN AREA
   ========================================================= */
.app-main {
    flex: 1 1 auto;
    min-width: 0;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* =========================================================
   6. TOP HEADER
   ========================================================= */
.app-topbar {
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid var(--jcb-border);
    height: var(--header-height);
    z-index: 30;
}

.app-topbar-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
}

.app-menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.app-menu-toggle:hover { background: #f1f5f9; color: #0f172a; }

.app-menu-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.app-search-wrap {
    flex: 1;
    max-width: 440px;
}

.app-search-input {
    width: 100%;
    height: 40px;
    padding: 0 16px 0 40px;
    border-radius: 999px;
    background: #F1F5FB;
    border: 1px solid transparent;
    font-size: 12px;
    color: #334155;
    outline: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.app-search-input::placeholder { color: #94A3B8; }
.app-search-input:focus {
    background: #fff;
    border-color: #c7d2fe;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.app-icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #475569;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.app-icon-btn:hover { background: #f1f5f9; color: #0f172a; }

.app-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 999px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.app-badge-red { background: #ef4444; }
.app-badge-orange { background: #f59e0b; }

.app-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid #fff;
}

.app-divider {
    width: 1px;
    height: 32px;
    background: #e2e8f0;
}

.app-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background 0.15s;
}
.app-user-btn:hover { background: #f1f5f9; }

.app-user-avatar {
    width: 36px;
    height: 36px;
    background: var(--jcb-navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.app-user-info { text-align: left; line-height: 1.15; }
.app-user-name { font-size: 12px; font-weight: 700; color: #0f172a; }
.app-user-role { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.app-user-arrow { color: #94a3b8; font-size: 10px; }

.app-user-dropdown {
    position: absolute;
    right: 0;
    margin-top: 8px;
    width: 224px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    padding: 4px;
    z-index: 50;
}

.app-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 12px;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s;
}
.app-user-dropdown-item:hover { background: #f8fafc; }
.app-user-dropdown-item-danger { color: #dc2626; }
.app-user-dropdown-item-danger:hover { background: #fef2f2; }

/* =========================================================
   7. SCROLLABLE CONTENT
   ========================================================= */
.app-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.app-content::-webkit-scrollbar { width: 8px; }
.app-content::-webkit-scrollbar-track { background: var(--jcb-page); }
.app-content::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 8px; }
.app-content::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* =========================================================
   8. HERO BANNER
   ========================================================= */
.dashboard-hero {
    position: relative;
    flex-shrink: 0;
    min-height: 150px;
    background: #0B2039;
    overflow: hidden;
}
.dashboard-hero-bg { position: absolute; inset: 0; }
.dashboard-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dashboard-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #071B33 0%, rgba(11,32,57,0.9) 40%, rgba(11,32,57,0.2) 100%);
}
.dashboard-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 150px;
    padding: 24px 32px;
}
.dashboard-hero-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.3;
}
.dashboard-hero-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(191, 219, 254, 0.8);
}
.dashboard-hero-date {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(16, 44, 74, 0.8);
    padding: 12px 16px;
    color: #fff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}
.dashboard-hero-date-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #bfdbfe;
}

/* =========================================================
   9. FLASH + MAIN CONTENT
   ========================================================= */
.app-flash {
    margin: 16px 24px 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
}
.app-flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.app-flash-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.app-flash-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.app-flash-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.app-main-content {
    flex: 1 1 auto;
    padding: 24px;
    background: var(--jcb-page);
}

.app-main-content .bg-white {
    border: 1px solid var(--jcb-border);
    box-shadow: 0 2px 8px rgba(15, 35, 60, 0.035);
}

/* =========================================================
   10. BACKDROP (mobile)
   ========================================================= */
.app-backdrop { display: none; }

/* =========================================================
   11. MOBILE
   ========================================================= */
@media (max-width: 1023px) {
    .app-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        min-width: 280px;
        max-width: 86vw;
        height: 100vh;
        max-height: 100vh;
        z-index: 50;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25);
    }
    .app-sidebar.app-sidebar-open { transform: translateX(0); }
    .app-sidebar-close { display: flex; }
    .app-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(2, 8, 23, 0.6);
        backdrop-filter: blur(2px);
        z-index: 40;
    }
    .app-menu-toggle { display: flex; }
    .app-menu-icon { display: none; }
    body.sidebar-open { overflow: hidden !important; }
    .app-sidebar-nav ul li a {
        min-height: 44px !important;
        padding: 11px 12px !important;
    }
    .app-topbar-inner { padding: 0 16px; gap: 10px; }
    .app-main-content { padding: 16px; }
    .app-flash { margin: 16px 16px 0; }
}

@media (max-width: 640px) {
    .app-sidebar { width: 270px; min-width: 270px; }
    .app-topbar-inner { padding: 0 12px; gap: 8px; }
    .app-icon-btn-sm-hide { display: none; }
    .app-user-info, .app-user-arrow { display: none; }
    .app-main-content { padding: 12px; }
    .app-main-content .grid { grid-template-columns: 1fr !important; }
    .app-main-content table { min-width: 600px; }
    .dashboard-hero { min-height: 120px; }
    .dashboard-hero-content { padding: 16px; min-height: 120px; }
    .dashboard-hero-title { font-size: 18px; }
    .dashboard-hero-subtitle { font-size: 11px; }
    .dashboard-hero-date { display: none; }
}

/* =========================================================
   12. FOOTER
   ========================================================= */
footer, footer.bg-white {
    flex-shrink: 0 !important;
    background: var(--jcb-navy) !important;
    color: #91a4ba !important;
    border-top: 1px solid #173452 !important;
    font-size: 10px !important;
    padding: 12px 24px !important;
    z-index: 10;
}

/* =========================================================
   13. ALERTS + BADGES + TABLES
   ========================================================= */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
}
.alert-success { background: #D1FAE5; color: #065F46; }
.alert-error   { background: #FEE2E2; color: #991B1B; }
.alert-warning { background: #FEF3C7; color: #92400E; }
.alert-info    { background: #DBEAFE; color: #1E40AF; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger  { background: #FEE2E2; color: #991B1B; }
.badge-info    { background: #DBEAFE; color: #1E40AF; }
.badge-gray    { background: #F3F4F6; color: #4B5563; }

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================================================
   14. PRINT
   ========================================================= */
@media print {
    .app-sidebar, .app-topbar, footer, .app-backdrop, .no-print {
        display: none !important;
    }
    html, body {
        overflow: visible !important;
        height: auto !important;
    }
    .app-shell, .app-main, .app-content, .app-main-content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .app-main-content { padding: 0 !important; }
}

/* =========================================================
   15. AUTO-SUGGEST DROPDOWN — PROFESSIONAL ERP DESIGN
   ========================================================= */

.autosuggest-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 35, 60, 0.14);
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px;
}

.autosuggest-list.hidden { display: none; }

.autosuggest-list::-webkit-scrollbar { width: 6px; }
.autosuggest-list::-webkit-scrollbar-track { background: transparent; }
.autosuggest-list::-webkit-scrollbar-thumb {
    background: #c8d8ee;
    border-radius: 3px;
}
.autosuggest-list::-webkit-scrollbar-thumb:hover {
    background: #9aabc0;
}

/* ---------- Loading State ---------- */
.as-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: #667085;
    font-size: 11px;
}

.as-loading-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #e5eaf1;
    border-top-color: #536dff;
    border-radius: 50%;
    animation: as-spin 0.7s linear infinite;
}

@keyframes as-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Empty State ---------- */
.as-empty {
    padding: 24px 16px;
    text-align: center;
}

.as-empty-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf3ff;
    color: #536dff;
    font-size: 18px;
    margin-bottom: 8px;
}

.as-empty-title {
    font-size: 12px;
    font-weight: 700;
    color: #173052;
    margin-bottom: 3px;
}

.as-empty-text {
    font-size: 10px;
    color: #8a9bb0;
}

/* ---------- Result Item ---------- */
.as-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease;
    border: 0;
}

.as-item + .as-item {
    margin-top: 2px;
}

.as-item:hover,
.as-item.active {
    background: #f5f8ff;
}

.as-item.active {
    box-shadow: inset 3px 0 0 #536dff;
}

/* Left side (icon + text) */
.as-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.as-item-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf3ff;
    color: #536dff;
    font-size: 13px;
}

.as-item-body {
    min-width: 0;
    flex: 1;
}

.as-item-name {
    font-size: 12px;
    font-weight: 700;
    color: #173052;
    line-height: 1.35;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.as-item-name mark {
    background: #fff3d6;
    color: #b54708;
    padding: 1px 2px;
    border-radius: 3px;
    font-weight: 800;
}

.as-item-meta {
    font-size: 10px;
    color: #8a9bb0;
    line-height: 1.4;
    margin-top: 2px;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right side (price + stock) */
.as-item-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.as-item-price {
    font-size: 12px;
    font-weight: 800;
    color: #173052;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.as-item-stock {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
}

.as-stock-ok {
    background: #e9f8ef;
    color: #087443;
}

.as-stock-low {
    background: #fff3d6;
    color: #b54708;
}

.as-stock-out {
    background: #fee4e2;
    color: #b42318;
}

/* ---------- Footer hint ---------- */
.as-footer {
    padding: 8px 12px;
    border-top: 1px solid #f0f4f9;
    background: #fafbfd;
    font-size: 9px;
    color: #8a9bb0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.as-footer kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: 4px;
    font-family: monospace;
    font-size: 9px;
    font-weight: 700;
    color: #475467;
    box-shadow: 0 1px 0 #dce6f2;
}

.as-footer i { color: #536dff; }

/* =========================================================
   16. GLOBAL FIX — Parent cards must not clip autosuggest
   ========================================================= */

.card:has(.autosuggest-list),
.form-card:has(.autosuggest-list),
.erp-card:has(.autosuggest-list),
.card:has(.part-search-wrap),
.card:has(.part-search-input),
.card:has(#part_search),
.card:has(#b_part_search),
.form-card:has(.part-search-wrap),
.form-card:has(.part-search-input),
.erp-card:has(.part-search-wrap),
.new-purch-shell .form-card:has(.part-search-wrap) {
    overflow: visible !important;
    position: relative;
    z-index: 30;
}

.part-search-wrap,
.part-search-container {
    position: relative;
    z-index: 100;
}

/* =========================================================
   17. MOBILE — Autosuggest adjustments
   ========================================================= */
@media (max-width: 640px) {
    .autosuggest-list {
        max-height: 320px;
        border-radius: 8px;
    }

    .as-item {
        padding: 10px;
        gap: 10px;
    }

    .as-item-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .as-item-name { font-size: 11px; }
    .as-item-meta { font-size: 9px; }
    .as-item-price { font-size: 11px; }
    .as-item-stock { font-size: 8px; padding: 1px 6px; }
}

/* ============================================================
   SIDEBAR BRAND PROMO
   ============================================================ */

.app-sidebar-promo {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.brand-promo-card {
    position: relative;
    border-radius: 12px;
    background: linear-gradient(160deg, #0B2340 0%, #061A30 100%);
    border: 1px solid rgba(255, 189, 23, 0.15);
    overflow: hidden;
    padding: 14px 10px 12px;
    text-align: center;
}

/* Subtle gold glow at top */
.brand-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 189, 23, 0.6), transparent);
}

/* Logo — shows directly on dark background, NO white box */
.brand-promo-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.brand-promo-logo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
    /* Optional: subtle drop shadow to make it pop on dark bg */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* Optional tagline below logo */
.brand-promo-tagline {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFBD17;
    line-height: 1.3;
}

/* Footer text below the card */
.brand-promo-footer {
    margin-top: 10px;
    text-align: center;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Responsive — shrink on short screens */
@media (max-height: 700px) {
    .brand-promo-logo img {
        max-width: 170px;
    }
    .brand-promo-tagline {
        font-size: 9px;
    }
}

@media (max-height: 600px) {
    .brand-promo-logo img {
        max-width: 140px;
    }
    .brand-promo-tagline {
        display: none;
    }
}