/* Retail Solutions Hero Bar Styles (aligned with other pages) */
:root {
    --bg: #ffffff;
    --panel: #ffffff;
    --border: #dbe2ef;
    --text: #0f172a;
    --accent: #2563eb;
}

/* Main hero bar container */
.rs-hero-bar {
    background: #ffffff;
    border-bottom: 4px solid var(--accent);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin: 0;
    position: relative;
}

/* Compact version */
.rs-hero-bar.hero-compact {
    padding: 14px 18px;
    gap: 12px;
}

/* Hero logo image */
.rs-hero-bar .hero-logo {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.rs-hero-bar.hero-compact .hero-logo {
    height: 42px;
    max-width: 130px;
}

/* Hero content area */
.rs-hero-bar .rs-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Hero title */
.rs-hero-bar .rs-hero-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.25px;
}

.rs-hero-bar.hero-compact .rs-hero-title {
    font-size: 20px;
}

/* Hero title icon */
.rs-hero-bar .rs-hero-title i {
    font-size: 24px;
    color: var(--accent);
}

.rs-hero-bar.hero-compact .rs-hero-title i {
    font-size: 22px;
}

/* Hero subtitle */
.rs-hero-bar .rs-hero-subtitle {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.rs-hero-bar.hero-compact .rs-hero-subtitle {
    font-size: 12px;
    color: #6b7280;
}

/* Hide old hero bar elements if they exist */
.rs-app-shell-header,
header.rs-app-shell-header,
.app-shell-header,
nav.navbar,
header[role="banner"],
#hero-bar-container {
    display: none !important;
}

/* Standard header styling */
header {
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

header h1 i {
    color: var(--accent);
}

.header-logo {
    height: 80px;
    width: auto;
}

body {
    padding-top: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rs-hero-bar {
        padding: 16px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .rs-hero-bar .hero-logo {
        height: 40px;
        max-width: 120px;
    }
    
    .rs-hero-bar .rs-hero-title {
        font-size: 18px;
        gap: 8px;
    }
    
    .rs-hero-bar .rs-hero-title i {
        font-size: 20px;
    }
    
    .rs-hero-bar .rs-hero-subtitle {
        font-size: 12px;
    }
}
