/* 선생님 목록 페이지 전용 스타일 */

.teacher-card {
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teamCard {
    height: 100%;
}

.teamCard__image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.teamCard__image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teacher-card:hover .teamCard__image img {
    transform: scale(1.05);
}

.teamCard__content {
    padding: 20px;
    text-align: center;
}

.teamCard__title {
    margin-bottom: 8px;
}

.teamCard__text {
    color: #6c757d;
    margin-bottom: 15px;
}

/* 검색 및 필터 영역 */
.search-field {
    position: relative;
}

.search-field input {
    width: 280px;
    padding-right: 50px;
}

.dropdown {
    position: relative;
}

.dropdown__button {
    cursor: pointer;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 50px;
    /* padding은 유틸리티 클래스 px-20 py-10 사용 = padding: 10px 20px */
}

.dropdown__button:hover {
    background: #e9ecef;
}

.toggle-element {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    min-width: 200px;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toggle-element.-is-el-visible {
    display: block;
}

.js-dropdown-link {
    padding: 2px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.js-dropdown-link:hover {
    background: #f8f9fa;
    border-radius: 4px;
}
