/* Main styles for the dashboard */

/* Login page */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Dashboard */
.dashboard-stats {
    margin-bottom: 30px;
}

.stat-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.stat-card h3 {
    margin-top: 0;
    color: #333;
    font-size: 1rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

/* Data Tables */
.table-container {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: #f8f9fa;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

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

.data-table .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Custom styles for DataTables */
.dataTables_wrapper .dataTables_length, 
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_info, 
.dataTables_wrapper .dataTables_paginate {
    margin-top: 15px;
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.dataTables_wrapper .dataTables_length select {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin: 0 5px;
}

/* Forms */
.form-container {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .table-responsive {
        overflow-x: auto;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
    
    .stat-card h3 {
        font-size: 0.9rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .table-container {
        padding: 10px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px;
    }
}