/* Custom styles for ECS Web */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

.btn {
    margin: 2px;
}

.storage-card {
    cursor: pointer;
}

.storage-card:hover {
    cursor: pointer;
}

/* Status Bar (Fixed Bottom) */
.status-bar {
    z-index: 1030; /* Above Bootstrap modals (1050) but below navbar (1030) */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.status-bar .status-left {
    display: flex;
    align-items: center;
}

.status-bar .status-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-bar .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Add padding to main content to prevent overlap with status bar */
main {
    padding-bottom: 60px; /* Space for status bar */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .status-bar {
        font-size: 0.75rem;
    }
    
    .status-bar .container-fluid {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .status-bar .status-left,
    .status-bar .status-right {
        width: 100%;
        justify-content: center;
    }
}

