/* Teams Page Styling */

.team-card {
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.team-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.team-card .card-title {
    color: #0056b3;
    margin-bottom: 0.25rem;
}

.team-card .card-subtitle {
    color: #6c757d;
}

.team-photo-container {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.team-photo {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-card {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #0056b3;
}

.member-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #0056b3;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 600;
    margin: 0;
    color: #333;
    font-size: 1rem;
}

.member-card:hover .member-name {
    color: #0056b3;
}

.no-photo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #6c757d;
    font-size: 1.2rem;
    border: 2px solid #e9ecef;
}

.member-card:hover .no-photo-placeholder {
    border-color: #0056b3;
    color: #0056b3;
}

/* Page title styling to match project design */
.container h1 {
    color: #0056b3;
    font-weight: bold;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .member-card {
        padding: 0.5rem;
    }
    
    .member-photo, .no-photo-placeholder {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .member-name {
        font-size: 0.9rem;
    }
    
    .team-photo {
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .team-card .card-title {
        font-size: 1.25rem;
    }
    
    .team-card .card-subtitle {
        font-size: 0.875rem;
    }
    
    .member-photo, .no-photo-placeholder {
        width: 35px;
        height: 35px;
        margin-right: 0.5rem;
    }
    
    .member-name {
        font-size: 0.85rem;
    }
}

/* Loading states */
.team-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.member-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation for new content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card {
    animation: fadeInUp 0.6s ease-out;
}

.member-card {
    animation: fadeInUp 0.4s ease-out;
}

/* Accessibility improvements */
.member-card:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.team-photo:focus {
    outline: 3px solid #0056b3;
    outline-offset: 3px;
}

.team-card .list-group-item {
    border-left: 0;
    border-right: 0;
} 