/* Accreditation Page Styles */

.breadcrumb-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    padding: 40px 0;
    color: white;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.accreditation-page {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-blue) 100%);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Filter Tabs */
.filter-tabs {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.filter-tabs .nav-pills .nav-link {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.filter-tabs .nav-pills .nav-link:hover {
    background: rgba(13, 110, 253, 0.1);
}

.filter-tabs .nav-pills .nav-link.active {
    background: #d1ecf1;
    color: #0c5460;
    font-weight: 700;
}

/* Search & Filter Section */
.search-filter-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.search-filter-section .form-label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.search-filter-section .form-control,
.search-filter-section .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.search-filter-section .form-control:focus,
.search-filter-section .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.btn-filter {
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-reset {
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
}

/* Accreditation Table */
.accreditation-table-wrapper {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

.accreditation-table {
    width: 100%;
    margin-bottom: 0;
}

.accreditation-table thead {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: white;
}

.accreditation-table thead th {
    padding: 15px 12px;
    font-weight: 600;
    border: none;
    white-space: nowrap;
}

.accreditation-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.accreditation-table tbody tr:hover {
    background: rgba(13, 110, 253, 0.05);
}

.accreditation-table tbody td {
    padding: 15px 12px;
    vertical-align: middle;
}

/* Badges */
.badge-type {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-type.program {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-type.institution {
    background: #d4edda;
    color: #155724;
}

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

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.valid {
    background: #d4edda;
    color: #155724;
}

.status-badge.warning {
    background: #fff3cd;
    color: #856404;
}

.status-badge.expired {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.no-limit {
    background: #e7f3ff;
    color: #004085;
}

/* Download Button */
.btn-download {
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-download i {
    margin-right: 5px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: 1px solid #dee2e6;
    color: var(--dark-blue);
}

.pagination .page-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .accreditation-table-wrapper {
        padding: 15px;
    }

    .accreditation-table {
        font-size: 0.9rem;
    }

    .accreditation-table thead th,
    .accreditation-table tbody td {
        padding: 10px 8px;
    }

    .filter-tabs .nav-pills .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
