/* Root Variables */

/* Base Styles */

/* Page Container */
.lawyers-page {
  color: var(--text-white);
}

.lawyers-hero {
  min-height: 0;
}

/* Main Content */
.lawyers-page .lawyers-content {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  padding-bottom: 72px;
}

.lawyer-details-page .lawyer-details-content {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  padding-bottom: 72px;
}

/* Breadcrumb */
.lawyers-page .lawyers-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.lawyer-details-page .lawyer-details-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}

.lawyers-page .lawyers-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  position: relative;
}

.lawyer-details-page .lawyer-details-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.lawyers-page .lawyers-breadcrumb-text {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lawyer-details-page .lawyer-details-breadcrumb-item span {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.lawyers-page .lawyers-breadcrumb-text.active {
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 17px;
}

.lawyer-details-page .lawyer-details-breadcrumb-item.active span {
  color: var(--primary-gold);
}

.lawyers-page .breadcrumb-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.lawyers-page .lawyers-breadcrumb-item:has(.active) .breadcrumb-icon {
  color: var(--primary-gold);
  filter: drop-shadow(0 0 6px rgba(202, 156, 94, 0.6));
}

.lawyers-page .breadcrumb-arrow {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.lawyer-details-page .lawyer-details-breadcrumb-item img {
  width: 24px;
  height: 24px;
}


.lawyer-details-page .lawyer-details-breadcrumb-line {
  width: 38px;
  height: 3px;
}

/* Page Title */
.lawyers-page .page-title {
  font-size: 32px;
  font-weight: 700;
  text-align: right;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

/* Filter Bar */
.lawyers-page .lawyers-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
  width: fit-content;
}

.lawyers-page .lawyers-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 53, 57, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lawyers-page .lawyers-filter-btn:hover {
  background: rgba(202, 156, 94, 0.2);
  border-color: rgba(202, 156, 94, 0.5);
  color: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(202, 156, 94, 0.2);
}

.lawyers-page .lawyers-filter-btn.active {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #d4a574 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 6px 20px rgba(202, 156, 94, 0.4), 0 0 0 3px rgba(202, 156, 94, 0.1);
  transform: translateY(-2px);
}

.lawyers-page .lawyers-filter-btn img {
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.lawyers-page .lawyers-filter-btn.active img {
  transform: rotate(180deg);
  filter: brightness(0) invert(1);
  opacity: 1;
}

.lawyers-page .lawyers-filter-btn:hover img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(45%) saturate(446%) hue-rotate(358deg) brightness(92%) contrast(87%);
  opacity: 1;
}

/* Lawyers List */
.lawyers-page .lawyers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 54px;
}

.lawyers-page .lawyers-empty {
  background: rgba(77, 88, 91, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lawyers-page .lawyers-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(202, 156, 94, 0.14);
  color: var(--primary-gold);
}

.lawyers-page .lawyers-empty-icon svg {
  width: 34px;
  height: 34px;
}

.lawyers-page .lawyers-empty-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-white);
}

.lawyers-page .lawyers-empty-desc {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.7;
}

.lawyers-page .lawyers-empty-btn {
  margin-top: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(202, 156, 94, 0.55);
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition);
}

.lawyers-page .lawyers-empty-btn:hover {
  background: rgba(202, 156, 94, 0.12);
  transform: translateY(-1px);
}

/* Lawyer Card */
.lawyers-page .lawyer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 24px 20px;
  height: auto;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
}

.lawyer-card:nth-child(1) {
  animation-delay: 0.2s;
}

.lawyer-card:nth-child(2) {
  animation-delay: 0.3s;
}

.lawyer-card:nth-child(3) {
  animation-delay: 0.4s;
}

.lawyers-page .lawyer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(202, 156, 94, 0.3);
}

/* Card Badge */
.lawyers-page .card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ca9c5e 0%, #d4a574 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(202, 156, 94, 0.3);
}

.lawyers-page .card-badge svg {
  width: 14px;
  height: 14px;
}

/* Card Experience */
.lawyers-page .card-experience {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(74, 92, 102, 0.9);
  color: white;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.lawyers-page .card-experience svg {
  width: 14px;
  height: 14px;
}

/* Lawyer Avatar Circle */
.lawyers-page .lawyer-avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 8px 0 16px;
  border: 3px solid #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lawyers-page .lawyer-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyers-page .lawyer-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px 0;
  color: #2a3539;
  text-align: center;
}

/* Lawyer Meta */
.lawyers-page .lawyer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #666;
}

.lawyers-page .meta-item {
  font-weight: 500;
}

.lawyers-page .meta-divider {
  color: #ddd;
}

/* Button Details */
.lawyers-page .btn-details {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: #4a5c66;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.lawyers-page .btn-details:hover {
  background: #3a4c56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 92, 102, 0.3);
}

/* Pagination */
.lawyers-page .lawyers-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.lawyers-page .lawyers-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: var(--transition);
  font-weight: 700;
}

.lawyers-page .lawyers-page-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.lawyers-page .lawyers-page-link.active {
  background: var(--primary-gold);
  border-color: transparent;
  color: var(--text-white);
}

/* Footer */

/* Floating Support Button */

/* Modal */

/* Booking Form */

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1440px) {

}

@media (max-width: 1280px) {

}

@media (max-width: 1024px) {
  .lawyers-page .lawyers-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .lawyers-page .lawyers-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }

  .lawyers-page .page-title {
    font-size: 24px;
  }

  .lawyers-page .lawyers-filter-bar {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
  }

  .lawyers-page .lawyer-card {
    padding: 20px 16px;
  }

  .lawyers-page .lawyer-avatar-circle {
    width: 80px;
    height: 80px;
  }

  .lawyers-page .lawyer-name {
    font-size: 16px;
  }

  .lawyers-page .lawyer-meta {
    font-size: 12px;
  }

  .lawyers-page .btn-details {
    padding: 10px 20px;
    font-size: 14px;
  }

  .lawyers-page .lawyers-pagination {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .lawyers-page .lawyers-breadcrumb {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .lawyers-page .lawyers-breadcrumb-text {
    font-size: 16px;
  }

  .lawyers-page .lawyers-list {
    grid-template-columns: 1fr;
  }

  .lawyers-page .lawyer-card {
    padding: 18px 14px;
  }

  .lawyers-page .card-badge {
    font-size: 12px;
    padding: 5px 10px;
  }

  .lawyers-page .card-favorite {
    width: 32px;
    height: 32px;
  }

  .lawyers-page .lawyer-avatar-circle {
    width: 70px;
    height: 70px;
  }

  .lawyers-page .lawyer-name {
    font-size: 15px;
  }
}


