/* Page Header */
.page-header {
    background-color: var(--light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    color: var(--dark);
    font-weight: 700;
}

.page-header .lead {
    color: var(--secondary);
}

/* Card Styles */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    color: var(--dark);
}

.table td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

/* Teacher Cards */
.teacher-card {
    background-color: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.teacher-card:hover {
    background-color: var(--light);
}

.teacher-card h3 {
    color: var(--primary);
    font-weight: 600;
}

.teacher-card li {
    transition: all 0.3s ease;
}

.teacher-card li:hover {
    transform: translateX(5px);
}

.teacher-card i {
    width: 20px;
    text-align: center;
}

/* Quick Info */
.quick-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-info-icon i {
    font-size: 1.2rem;
}

.quick-info-icon:hover {
    transform: scale(1.1);
}

/* Document Links */
.list-group-item {
    border: none;
    padding: 1rem;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: var(--light);
    transform: translateX(5px);
}

.list-group-item i {
    font-size: 1.5rem;
}

/* Organizational Chart */
.org-chart {
    position: relative;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
}

.org-chart img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .teacher-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .table th,
    .table td {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .quick-info-icon {
        width: 35px;
        height: 35px;
    }

    .quick-info-icon i {
        font-size: 1rem;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1001;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
} 