/* Procurement Page Styles */

.breadcrumb-section {
    background: #f8f9fa;
    padding: 15px 0;
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.page-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stats-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stats-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Filter Card */
.filter-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-card .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Procurement Card */
.procurement-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.procurement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.procurement-card .card-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 2px solid #0d6efd;
}

.procurement-card .card-header h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.procurement-card .card-header h4 a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s;
}

.procurement-card .card-header h4 a:hover {
    color: #0d6efd;
}

.badges-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-primary {
    background: #0d6efd;
    color: white;
}

.badge-info {
    background: #0dcaf0;
    color: white;
}

.badge-status {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.badge-success {
    background: #198754;
    color: white;
}

.badge-warning {
    background: #ffc107;
    color: #000;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.procurement-card .card-body {
    padding: 25px;
}

.description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    color: #0d6efd;
    font-size: 1.3rem;
}

.info-item small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
}

.info-item strong {
    color: #212529;
    font-size: 0.95rem;
}

.countdown-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    margin-top: 15px;
}

.footer-info {
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-info i {
    margin-right: 5px;
}

/* Alert */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background: #d1e7dd;
    color: #0f5132;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h4 {
    color: #6c757d;
    margin-bottom: 10px;
}

.empty-state p {
    color: #adb5bd;
}

/* Buttons */
.btn-primary {
    background: #0d6efd;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #0a58ca;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    border: none;
}

.btn-secondary:hover {
    background: #5c636a;
}

/* Pagination */
.pagination {
    margin-top: 30px;
}

.pagination .page-link {
    color: #0d6efd;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 6px;
    transition: all 0.3s;
}

.pagination .page-link:hover {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .stats-box {
        margin-top: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .card-footer .btn {
        width: 100%;
    }
    
    .badges-group {
        margin-top: 10px;
    }
}