/* Custom styles to complement Bootstrap */
body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f9f9f9;
}

/* Header styles */
.navbar-brand {
    font-size: 1.5rem;
}

.btn-warning {
    background-color: #FFD600;
    border-color: #FFD600;
}

.btn-warning:hover {
    background-color: #FFC107;
    border-color: #FFC107;
}

/* Main content styles */
.trainer-card {
    background-color: #FFF9E5;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.trainer-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.trainer-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 원하는 줄 수 */
    -webkit-box-orient: vertical;
}

.trainer-profile-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.price-buttons {
    display: flex;
    align-items: end;
}

.price-value {
    min-width: 70px;
    font-weight: 500;
}

.schedule-tag {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .trainer-image img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .trainer-contact {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .trainer-profile-img {
        width: 50px;
        height: 50px;
    }
}

/* 페이지네이션 스타일 추가 */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-item.active .page-link {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.pagination .page-link {
    color: #000;
}

.pagination .page-link:hover {
    background-color: #ffdb6d;
    border-color: #ffc107;
}

/* Footer styles */
footer {
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5rem;
}

.sort-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.sort-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sort-item {
    margin-left: 15px;
}

.sort-item .sort-link {
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

.sort-item.active .sort-link {
    color: #ff9800;
    font-weight: bold;
}

.sort-item .sort-link:hover {
    color: #ff9800;
}

/* trainer-list.css 또는 적절한 CSS 파일에 추가 */
.trainer-search-container {
    margin-bottom: 30px;
}

.search-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-category {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    background-color: #f8f9fa;
}

.btn-search {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* 검색결과 없음 메시지 스타일 */
.alert-info {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}