/* Faculty All Members Page Styles */
.faculty-all-members-page {
  min-height: 100vh;
  background-color: #f8f9fa;
}

.page-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid #dee2e6;
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.breadcrumb-nav {
  margin-top: 1rem;
}

.breadcrumb-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.breadcrumb-link:hover {
  color: #0056b3;
  text-decoration: none;
}

.members-count-badge {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.members-count-badge .count {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
  line-height: 1;
}

.members-count-badge .label {
  display: block;
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.faculty-members-grid {
  padding: 2rem 0;
}

.faculty-member-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.faculty-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.member-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f8f9fa;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faculty-member-card:hover .member-image {
  transform: scale(1.1);
}

.member-no-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 3rem;
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.faculty-member-card:hover .member-overlay {
  opacity: 1;
}

.member-overlay-content {
  color: white;
}

.member-overlay .member-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.member-overlay .member-position {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.member-details {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.member-job-title {
  color: #007bff;
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.member-department {
  color: #6c757d;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.member-bio-preview {
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.member-contact-info {
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.contact-item i {
  color: #007bff;
  font-size: 1rem;
  width: 16px;
  flex-shrink: 0;
}

.contact-link {
  color: #007bff;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-text {
  color: #6c757d;
}

.member-actions {
  margin-top: auto;
}

.view-profile-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.no-members-found {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 2rem 0;
}

.load-more-section {
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .members-count-badge {
    margin-top: 2rem;
  }
  
  .member-image-wrapper {
    height: 200px;
  }
  
  .faculty-member-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 1.5rem 0;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .member-image-wrapper {
    height: 180px;
  }
  
  .member-details {
    padding: 1rem;
  }
}

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

.faculty-member-card {
  animation: fadeInUp 0.6s ease-out;
}

.faculty-member-card:nth-child(1) { animation-delay: 0.1s; }
.faculty-member-card:nth-child(2) { animation-delay: 0.2s; }
.faculty-member-card:nth-child(3) { animation-delay: 0.3s; }
.faculty-member-card:nth-child(4) { animation-delay: 0.4s; }
.faculty-member-card:nth-child(5) { animation-delay: 0.5s; }
.faculty-member-card:nth-child(6) { animation-delay: 0.6s; }
.faculty-member-card:nth-child(7) { animation-delay: 0.7s; }
.faculty-member-card:nth-child(8) { animation-delay: 0.8s; } 