body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #f8f9fa;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.loading-progress {
    margin-top: 15px;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.2rem;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
}

.table {
    background-color: white;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.form-label {
    font-weight: 500;
}

.alert {
    margin-bottom: 20px;
}

.pagination {
    margin-top: 20px;
}

.status-active {
    color: #198754;
    font-weight: bold;
}

.status-completed {
    color: #0d6efd;
    font-weight: bold;
}

.status-cancelled {
    color: #dc3545;
    font-weight: bold;
}

.status-pending {
    color: #ffc107;
    font-weight: bold;
}

.status-approved {
    color: #198754;
    font-weight: bold;
}

.status-rejected {
    color: #dc3545;
    font-weight: bold;
}

.warning-low {
    color: #ffc107;
    font-weight: bold;
}

.warning-critical {
    color: #dc3545;
    font-weight: bold;
}

.action-buttons {
    white-space: nowrap;
}

.action-buttons .btn {
    margin-right: 5px;
}

.modal-lg {
    max-width: 800px;
}

.search-box {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stats-card p {
    color: #6c757d;
    margin-bottom: 0;
}
