/**
 * UNIVERSAL FOOTER/BOTTOM BANNER COMPONENT STYLES
 * Version: 1.0.0
 *
 * Universal bottom banner component for all easykawa modules.
 * Uses CSS variables from themes.css for automatic light/dark theme support.
 *
 * Features:
 * - Consistent footer structure across all modules
 * - Sticky positioning at bottom of viewport
 * - Support for action buttons and controls
 * - Responsive design
 * - Automatic theme switching
 */

/* ========================================
   FOOTER CONTAINER
   ======================================== */

.bottom-banner {
    display: flex;
    flex-direction: column;
    position: sticky;
    bottom: 0;
    z-index: var(--z-sticky);
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-primary);
    box-shadow: 0 -1px 2px 0 rgb(0 0 0 / 0.05);
    transition: background-color var(--transition-base);
    gap: 0 !important;
    align-items: stretch !important;
    flex-shrink: 0;
}

/* ========================================
   FOOTER CONTENT ROW
   ======================================== */

.bottom-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 2rem;
    min-height: 50px;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Center aligned by default, but can be overridden */
.bottom-banner-content.align-left {
    justify-content: flex-start;
}

.bottom-banner-content.align-right {
    justify-content: flex-end;
}

.bottom-banner-content.space-between {
    justify-content: space-between;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .bottom-banner-content {
        padding: 0.5rem 1rem;
        min-height: 44px;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .bottom-banner-content {
        padding: 0.5rem 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }
}
