/* Custom styles for DMARC Report Aggregator */

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

main {
    flex: 1;
}

.footer {
    margin-top: auto;
}

/* Dashboard cards */
.stat-card {
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Table improvements */
.table-hover tbody tr:hover {
    background-color: rgba(0,123,255,.05);
}

/* Status badges */
.badge-pass {
    background-color: #28a745;
}

.badge-fail {
    background-color: #dc3545;
}

.badge-quarantine {
    background-color: #ffc107;
    color: #212529;
}

/* IP address formatting */
.ip-address {
    font-family: 'Courier New', monospace;
}

/* Chart container */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Pagination */
.pagination {
    margin-bottom: 0;
}

/* Filter form */
.filter-form {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Loading spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Alert improvements */
.alert-dismissible {
    margin-bottom: 20px;
}

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9em;
    }
}

/* Print styles */
@media print {
    .navbar, .footer, .filter-form {
        display: none;
    }
}