/* MMCL Dashboard Styles */

:root {
    --primary-color: #1e40af;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --border-radius: 8px;
}

body {
    background-color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.location-section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.space-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: var(--border-radius);
}

.space-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.availability-badge {
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    color: white;
    font-weight: 600;
    margin-top: 10px;
}

.days-until {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.next-date {
    font-size: 0.85rem;
    opacity: 0.9;
}

.chart-container {
    position: relative;
    height: 400px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.badge {
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
}

@media (max-width: 768px) {
    .chart-container {
        height: 300px;
    }
    
    .space-card {
        margin-bottom: 15px;
    }
}

/* Print styles */
@media print {
    .space-card {
        break-inside: avoid;
    }
    
    .chart-container {
        height: 300px;
    }
}
