.team-page {
  margin-top: 5.9375rem;
  padding-bottom: 60px;
}
.team-page .page-header {
  margin-bottom: 40px;
}
.team-page .page-header .page-title {
  font-size: 3.25rem;
  font-weight: 900;
  color: #252525;
  margin: 0;
  position: relative;
  display: inline-block;
}
.team-page .page-header .page-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #e60012;
}
.team-page .page-header .page-subtitle {
  font-size: 18px;
  color: #666;
  margin-top: 20px;
}
.team-page .filter-section {
  margin-bottom: 40px;
  padding: 30px;
  border-radius: 16px;
  background: #f2f2f2;
}
.team-page .filter-section .category-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.team-page .filter-section .category-tabs .category-tab {
  padding: 10px 24px;
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}
.team-page .filter-section .category-tabs .category-tab:hover {
  border-color: #e60012;
  color: #e60012;
}
.team-page .filter-section .category-tabs .category-tab.active {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
}
.team-page .filter-section .search-sort-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .team-page .filter-section .search-sort-container {
    flex-direction: column;
    align-items: stretch;
  }
}
.team-page .filter-section .search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.team-page .filter-section .search-box #searchInput {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.team-page .filter-section .search-box #searchInput:focus {
  outline: none;
  border-color: #e60012;
}
.team-page .filter-section .search-box #searchInput::placeholder {
  color: #999;
}
.team-page .filter-section .search-box .search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #e60012;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}
.team-page .filter-section .search-box .search-btn:hover {
  background: #c50010;
}
.team-page .filter-section .sort-options {
  display: flex;
  align-items: center;
  gap: 15px;
}
.team-page .filter-section .sort-options .sort-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}
.team-page .filter-section .sort-options .sort-buttons {
  display: flex;
  gap: 10px;
}
.team-page .filter-section .sort-options .sort-buttons .sort-btn {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}
.team-page .filter-section .sort-options .sort-buttons .sort-btn:hover {
  border-color: #e60012;
  color: #e60012;
}
.team-page .filter-section .sort-options .sort-buttons .sort-btn.active {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
}
.team-page .team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.team-page .team-grid .team-member {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f2f2f2;
}
.team-page .team-grid .team-member.hidden {
  display: none;
}
.team-page .team-grid .team-member.paged-hidden {
  display: none;
}
.team-page .team-grid .team-member:hover {
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.team-page .team-grid .team-member .member-avatar {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.team-page .team-grid .team-member .member-avatar:before {
  display: block;
  content: "";
  padding-top: 120%;
}
.team-page .team-grid .team-member .member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.team-page .team-grid .team-member:hover .member-avatar img {
  transform: scale(1.05);
}
.team-page .team-grid .team-member .member-info {
  padding: 20px;
}
.team-page .team-grid .team-member .member-info .member-name {
  font-size: 22px;
  font-weight: 700;
  color: #252525;
  margin: 0 0 8px;
}
.team-page .team-grid .team-member .member-info .member-title {
  font-size: 16px;
  color: #e60012;
  margin: 0 0 15px;
  font-weight: 500;
}
.team-page .team-grid .team-member .member-info .member-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-page .team-grid .team-member .member-info .contact-btns {
  display: flex;
  gap: 10px;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn.btn-primary {
  background: #252525;
  color: #fff;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn.btn-primary:hover {
  background: #000;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn.btn-outline {
  background: transparent;
  color: #252525;
  border: 1px solid #252525;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn.btn-outline:hover {
  background: #252525;
  color: #fff;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn.loading {
  position: relative;
  overflow: hidden;
  color: transparent;
  pointer-events: none;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: loading-shimmer 1.5s infinite;
}
.team-page .team-grid .team-member .member-info .contact-btns .contact-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.team-page .pagination-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}
.team-page .pagination-container .pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}
.team-page .pagination-container .pagination .page-btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}
.team-page .pagination-container .pagination .page-btn:hover {
  border-color: #e60012;
  color: #e60012;
}
.team-page .pagination-container .pagination .page-btn.active {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
}
.team-page .pagination-container .pagination .page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.team-page .pagination-container .pagination .page-btn.disabled:hover {
  border-color: #e0e0e0;
  color: #666;
}
.team-page .pagination-container .pagination .page-btn.ellipsis {
  border: none;
  background: none;
  cursor: default;
}
.team-page .pagination-container .pagination .page-btn.ellipsis:hover {
  color: #666;
}
.team-page .no-results {
  text-align: center;
  padding: 60px 20px;
  display: none;
}
.team-page .no-results.show {
  display: block;
}
.team-page .no-results .no-results-icon {
  font-size: 60px;
  color: #e0e0e0;
  margin-bottom: 20px;
}
.team-page .no-results .no-results-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
}
.team-page .no-results .no-results-hint {
  font-size: 14px;
  color: #999;
}
.lawyer-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lawyer-detail-modal.show {
  opacity: 1;
  visibility: visible;
}
.lawyer-detail-modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}
.lawyer-detail-modal .modal-content {
  background: #fff;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.lawyer-detail-modal .modal-content .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}
.lawyer-detail-modal .modal-content .close-btn:hover {
  color: #333;
}
.lawyer-detail-modal .modal-content h2 {
  margin-top: 0;
  color: #333;
  font-size: 28px;
}
.lawyer-detail-modal .modal-content .lawyer-photo {
  float: right;
  margin-left: 20px;
  border-radius: 8px;
  max-width: 95px;
}
.lawyer-detail-modal .modal-content .lawyer-info {
  margin-top: 20px;
}
.lawyer-detail-modal .modal-content .lawyer-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}
.lawyer-detail-modal .modal-content .lawyer-info p strong {
  color: #333;
}
.lawyer-detail-modal .modal-content .lawyer-info ul {
  padding-left: 20px;
}
.lawyer-detail-modal .modal-content .lawyer-info ul li {
  margin-bottom: 8px;
}
.consultation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.consultation-modal .modal-content {
  background: #fff;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  padding: 30px;
  position: relative;
}
.consultation-modal .modal-content .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}
.consultation-modal .modal-content .close-btn:hover {
  color: #333;
}
.consultation-modal .modal-content h2 {
  margin-top: 0;
  color: #333;
  font-size: 24px;
}
.consultation-modal .modal-content .consultation-form {
  margin-top: 20px;
}
.consultation-modal .modal-content .consultation-form .form-group {
  margin-bottom: 15px;
}
.consultation-modal .modal-content .consultation-form .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.consultation-modal .modal-content .consultation-form .form-group input,
.consultation-modal .modal-content .consultation-form .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}
.consultation-modal .modal-content .consultation-form .form-group input:focus,
.consultation-modal .modal-content .consultation-form .form-group textarea:focus {
  outline: none;
  border-color: #e60012;
}
.consultation-modal .modal-content .consultation-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.consultation-modal .modal-content .consultation-form .submit-btn {
  background: #e60012;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
.consultation-modal .modal-content .consultation-form .submit-btn:hover {
  background: #c50010;
}
@keyframes loading-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media screen and (max-width: 1200px) {
  .team-page .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 992px) {
  .team-page .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .team-page {
    margin-top: 20px;
  }
  .team-page .page-header .page-title {
    font-size: 2.5rem;
  }
  .team-page .team-grid {
    gap: 20px;
  }
  .lawyer-detail-modal .modal-content,
  .consultation-modal .modal-content {
    width: 90%;
    padding: 20px;
  }
  .lawyer-detail-modal .lawyer-photo {
    float: none;
    display: block;
    margin: 0 auto 20px;
  }
}
@media screen and (max-width: 600px) {
  .team-page .team-grid {
    grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=team.css.map */