/* Request Letters List Styles */
.request-list-container {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Filter Section */
.filter-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.filter-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.filter-section .form-control,
.filter-section .form-select {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.filter-section .form-control:focus,
.filter-section .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Statistics Cards */
.stats-cards {
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.stat-card .stat-description {
    font-size: 0.875rem;
    color: #adb5bd;
    margin: 0;
}

/* Card Colors */
.stat-card-total {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #ffffff;
}

.stat-card-pending {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: #ffffff;
}

.stat-card-approved {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: #ffffff;
}

.stat-card-processing {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
}

.stat-card-completed {
    background: linear-gradient(135deg, #20c997, #17a085);
    color: #ffffff;
}

.stat-card-rejected {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #ffffff;
}

/* Request Cards */
.request-cards-container {
    margin-top: 1rem;
}

.request-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.request-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.request-card .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    border-radius: 12px 12px 0 0;
}

.request-card .card-header h6 {
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.request-card .card-body {
    padding: 1.25rem;
}

.request-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.request-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.request-card .request-meta {
    margin-bottom: 0.5rem;
}

.request-card .request-meta small {
    color: #6c757d;
    font-size: 0.8rem;
}

.request-card .request-meta i {
    width: 16px;
    color: #007bff;
}

.request-card .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    border-radius: 0 0 12px 12px;
}

/* Status and Priority Badges */
.status-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge Colors */
.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-success {
    background-color: #28a745;
    color: #ffffff;
}

.badge-info {
    background-color: #17a2b8;
    color: #ffffff;
}

.badge-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.badge-primary {
    background-color: #007bff;
    color: #ffffff;
}

.badge-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    border-radius: 8px;
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #adb5bd;
    margin-bottom: 1.5rem;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    color: #007bff;
    padding: 0.5rem 0.75rem;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-section .row {
        margin-bottom: 1rem;
    }
    
    .filter-section .col-md-3,
    .filter-section .col-md-2 {
        margin-bottom: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .request-card {
        margin-bottom: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .filter-section {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .request-card .card-body {
        padding: 1rem;
    }
    
    .request-card .card-footer {
        padding: 1rem;
    }
}
