/* Main Container */
.py-12 {
    padding: 3rem 0;
}

/* Card Styling */
.card {
    border: none;
    padding-left: 5%;
    padding-right: 5%;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Buttons */
.btn {
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #00678e, #151852);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(21, 24, 82, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #00ab55, #009688);
    border: none;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 171, 85, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* Filter Section */
#filtersArea .card-body {
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #00678e;
    box-shadow: 0 0 0 3px rgba(0, 103, 142, 0.1);
}

/* Table Styling */
.table {
    border-radius: 0.75rem;
    overflow: hidden;
}

.table thead th {
    background: #151852;
    color: white;
    padding: 1rem;
    border-bottom: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(248, 249, 250, 0.5);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 103, 142, 0.05);
}

/* Status Badges */
.status-valid {
    color: #00ab55;
    background: rgba(0, 171, 85, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
}

.status-invalid {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }

    .col-md-4 {
        margin-bottom: 1rem;
    }

    #clearFilters,
    #applyFilters {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: left;
}

