/* ===== MODERN CREDENTIA / MANDATORY PUBLIC DISCLOSURE STYLING ===== */

:root {
    --cred-primary: #0f172a;
    --cred-accent: #0d6efd;
    --cred-accent-hover: #0b5ed7;
    --cred-success: #10b981;
    --cred-bg: #f8fafc;
    --cred-border: #e2e8f0;
    --cred-text: #475569;
    --cred-title: #0f172a;
}

.credentia-wrapper {
    background-color: var(--cred-bg);
    min-height: 60vh;
}

/* Stat Summary Pills */
.credentia-stat-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.credentia-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 110, 253, 0.3);
}

.credentia-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.credentia-stat-icon.blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #0d6efd;
}

.credentia-stat-icon.amber {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #d97706;
}

.credentia-stat-icon.green {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #10b981;
}

.credentia-stat-icon.purple {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    color: #8b5cf6;
}

/* Layout Container */
.credentia-main-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar Navigation */
.credentia-nav-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    position: sticky;
    top: 110px;
}

.credentia-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: all 0.25s ease;
    margin-bottom: 0.35rem;
    cursor: pointer;
}

.credentia-nav-link:last-child {
    margin-bottom: 0;
}

.credentia-nav-link i.nav-icon {
    font-size: 1.15rem;
    margin-right: 0.75rem;
    transition: transform 0.25s ease;
}

.credentia-nav-link:hover {
    background-color: #f1f5f9;
    color: #0d6efd;
}

.credentia-nav-link.active {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25);
}

.credentia-nav-link.active i.nav-icon,
.credentia-nav-link.active i.text-primary,
.credentia-nav-link.active i.text-danger,
.credentia-nav-link.active i.text-warning,
.credentia-nav-link.active i.text-info,
.credentia-nav-link.active i.text-success,
.credentia-nav-link.active i.fa-chevron-right {
    color: #ffffff !important;
    transform: scale(1.1);
}

/* Detail Panel Container */
.credentia-panel-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    min-height: 520px;
}

.panel-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Data List Grid */
.credentia-data-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.credentia-data-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.35rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.credentia-data-item:hover {
    background: #ffffff;
    border-color: rgba(13, 110, 253, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.data-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

.data-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

/* Document Item Cards */
.credentia-doc-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.credentia-doc-card:hover {
    border-color: rgba(13, 110, 253, 0.3);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.doc-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.doc-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.doc-subtitle {
    font-size: 0.82rem;
    color: #64748b;
}

.btn-doc-view {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.55rem 1.25rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    transition: all 0.25s ease;
}

.btn-doc-view:hover {
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
    transform: translateY(-2px);
}

/* Faculty Stat Cards Grid */
.faculty-stat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.35rem;
    text-align: center;
    transition: all 0.25s ease;
}

.faculty-stat-box:hover {
    background: #ffffff;
    border-color: rgba(13, 110, 253, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faculty-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0d6efd;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.faculty-stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
}

/* Video Card Overlay */
.statutory-video-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 20px;
    padding: 2rem;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

/* ===== DISCLOSURE ACCORDION STYLING ===== */
.disclosure-accordion .accordion-item {
    border-radius: 18px !important;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1rem !important;
}

.disclosure-accordion .accordion-item:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
    border-color: rgba(13, 110, 253, 0.3) !important;
}

.disclosure-accordion .accordion-button {
    padding: 1.25rem 1.6rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    border-radius: 18px !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.disclosure-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: #ffffff !important;
}

.disclosure-accordion .accordion-button::after {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.disclosure-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
    transform: rotate(180deg);
}

.disc-index-badge {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.disclosure-accordion .accordion-button:not(.collapsed) .disc-index-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.disclosure-accordion .accordion-body {
    padding: 1.75rem 2rem;
    background: #ffffff;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.8;
}

.disclosure-accordion .accordion-body table {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.disclosure-accordion .accordion-body table th {
    background-color: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    padding: 0.85rem 1.1rem;
}

.disclosure-accordion .accordion-body table td {
    padding: 0.85rem 1.1rem;
}

/* Disclosure Filter Search Input */
.disc-search-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.disc-search-wrapper .search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.95rem;
}

.disc-search-input {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.disc-search-input:focus {
    background-color: #ffffff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .credentia-main-grid {
        grid-template-columns: 1fr;
    }

    .credentia-nav-card {
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        padding: 0.75rem;
        border-radius: 16px;
        scrollbar-width: none;
    }

    .credentia-nav-card::-webkit-scrollbar {
        display: none;
    }

    .credentia-nav-link {
        white-space: nowrap;
        margin-bottom: 0;
        padding: 0.7rem 1rem;
    }
}
