/* 📱 App-Style Compact Design - No Wasted Space */

/* Remove all unnecessary whitespace */
body {
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

.container {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Compact Footer */
footer {
    background: #1f2937;
    padding: 24px 0 80px 0 !important; /* Extra bottom for mobile nav */
    margin-top: 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 13px;
    margin: 0;
}

/* Mobile Footer */
@media (max-width: 768px) {
    footer {
        padding: 20px 0 90px 0 !important;
        margin-top: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .footer-section ul li {
        margin-bottom: 6px;
    }
    
    .footer-section ul li a {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding-top: 12px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

/* Remove unnecessary margins/paddings globally */
.card {
    margin-bottom: 16px !important;
}

.card-header {
    padding: 12px 16px !important;
}

.card-body {
    padding: 16px !important;
}

.row {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.col, [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* Page spacing */
.page-content {
    min-height: calc(100vh - 200px);
}

/* Mobile: No wasted space */
@media (max-width: 768px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    
    .card {
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }
    
    /* Remove extra spacing */
    .mt-4, .my-4 {
        margin-top: 12px !important;
    }
    
    .mb-4, .my-4 {
        margin-bottom: 12px !important;
    }
    
    .pt-4, .py-4 {
        padding-top: 12px !important;
    }
    
    .pb-4, .py-4 {
        padding-bottom: 12px !important;
    }
}
