.team-directory-container {
    max-width: 1200px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Filter Bar */
.team-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    align-items: center;
}

.team-filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 160px;
    font-size: 14px;
}

.btn-reset {
    background: #666;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

/* Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Card Styling */
.team-member-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Image */
.member-image-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f0f0f0;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.member-name {
    margin: 0 0 5px;
    font-size: 1.4rem;
    color: #2c3e50;
}

.member-role {
    color: #0073aa;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-education {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

/* Chips */
.member-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.member-chip {
    font-size: 11px;
    padding: 3px 10px;
    background: #f1f1f1;
    border-radius: 12px;
    color: #555;
    text-transform: uppercase;
    font-weight: 500;
}

.chip-team_badge { background: #fff3cd; color: #856404; }
.chip-team_location { background: #d1ecf1; color: #0c5460; }

/* Footer Buttons */
.member-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.member-footer a, .member-footer button {
    flex: 1;
    padding: 12px 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    transition: 0.3s;
}

.btn-detail {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-detail:hover { background: #e9ecef; }

.btn-book {
    background: #0073aa;
    color: #fff;
    border: none;
}

.btn-book:hover { background: #005177; }

.btn-book.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: #666;
    font-style: italic;
}
