/* Main styles for the application */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

/* Card styling */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: 500;
}

/* Dashboard cards */
.card-body .display-4 {
    font-size: 2.5rem;
    font-weight: 600;
}

/* Table styling */
.table thead th {
    font-weight: 600;
    border-top: none;
    background-color: #f8f9fa;
}

.datatable th, .datatable td {
    vertical-align: middle;
}

/* Form styling */
.form-label {
    font-weight: 500;
}

.invalid-feedback {
    font-size: 80%;
}

/* Navigation styling */
.navbar-brand {
    font-weight: 600;
}

.nav-link {
    padding: 0.5rem 1rem;
}

/* Footer styling */
footer {
    position: sticky;
    bottom: 0;
}

/* Status badges */
.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
}

/* Action buttons */
.btn-group .btn {
    padding: 0.25rem 0.5rem;
}

/* Search box in DataTables */
.dataTables_filter input {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Pagination in DataTables */
.dataTables_paginate .paginate_button {
    padding: 0.25rem 0.5rem;
    margin: 0 0.125rem;
    border-radius: 0.25rem;
}

.dataTables_paginate .paginate_button.current {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white !important;
}

/* Login page specific */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 100px;
}

/* For mobile devices */
@media (max-width: 768px) {
    .card-body .display-4 {
        font-size: 2rem;
    }

    .table-responsive {
        overflow-x: auto;
    }
}