/* Colleges List Specific Styles */

.uni-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Hover effect removed for main cards as they contain interactive elements */
/* .uni-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
} */

.uni-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 51, 102, 0.05);
    /* Brand color tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Pills for Tabs */
.custom-pills .nav-link {
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.custom-pills .nav-link:hover {
    background-color: #e9ecef;
}

.custom-pills .nav-link.active {
    background-color: #003366;
    /* Brand Primary */
    color: #fff;
    border-color: #003366;
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.2);
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Animations */
.tab-pane {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .uni-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .uni-icon-wrapper i {
        font-size: 1.5rem !important;
    }

    .card-header h4 {
        font-size: 1.2rem;
    }

    .custom-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .custom-pills::-webkit-scrollbar {
        height: 4px;
    }

    .custom-pills::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
    }

    .custom-pills .nav-item {
        flex: 0 0 auto;
    }
}