/* Dashboard Hero Style CSS - Manage Headers with Proper Z-Index */

/* Hide topbar globally (not needed with hero headers) */
.topbar,
.sidebar-toggle {
    display: none !important;
}

/* Ensure hero-style header is always visible */
.dashboard-welcome-section {
    display: block !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 2rem !important;
    position: relative;
    z-index: 1;
}

/* Remove top padding adjustment for pages with hero headers */
.main-content {
    padding-top: 0 !important;
}

/* Mobile responsiveness - ensure mobile header stays on top */
@media (max-width: 768px) {
    /* Mobile header should be above hero section */
    .mobile-header {
        position: sticky;
        top: 0;
        z-index: 1030 !important;
        background: white;
    }
    
    /* Sidebar menu should be above everything */
    .sidebar,
    .mobile-nav-menu {
        z-index: 1050 !important;
    }
    
    /* Overlay should be below sidebar but above content */
    .mobile-overlay {
        z-index: 1040 !important;
    }
    
    /* Hero section should be below mobile header */
    .dashboard-welcome-section {
        position: relative;
        z-index: 1 !important;
        margin-top: 0;
    }
    
    /* Bottom nav should stay on top */
    .bottom-nav {
        z-index: 1020 !important;
    }
}

/* Enhanced button visibility for hero sections */
.dashboard-welcome-section .btn {
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    border-width: 2px !important;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.dashboard-welcome-section .btn-light {
    background: #ffffff !important;
    color: #1a2332 !important;
    border: 2px solid #ffffff !important;
}

.dashboard-welcome-section .btn-light:hover {
    background: #f8f9fa !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

.dashboard-welcome-section .btn-outline-light {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.dashboard-welcome-section .btn-outline-light:hover {
    background: #ffffff !important;
    color: #1a2332 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

/* Enhanced styling for dashboard hero badges */
.dashboard-welcome-section .ai-powered-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.dashboard-welcome-section .badge.bg-danger {
    background: rgba(220, 53, 69, 0.8) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.dashboard-welcome-section .badge.bg-primary {
    background: rgba(13, 110, 253, 0.8) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Responsive adjustments for dashboard hero sections */
@media (max-width: 768px) {
    .dashboard-welcome-section {
        padding: 2rem 1.5rem !important;
    }
    
    .dashboard-welcome-section .display-4 {
        font-size: 2rem !important;
    }
    
    .dashboard-welcome-section .lead {
        font-size: 1rem !important;
    }
    
    /* Ensure action buttons stack properly on mobile */
    .dashboard-welcome-section .btn {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
    }
}