@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
  background-color: #f8f9fa;
  font-family: "Poppins", sans-serif;
}

.header {
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-container {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.search-input {
  position: relative;
  margin-bottom: 20px;
}

.search-input input {
  padding-left: 50px;
  height: 50px;
  border-radius: 25px;
  border: 2px solid #e9ecef;
  font-size: 16px;
  transition: all 0.3s ease;
}

.search-input input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.search-input i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 10;
}

.filter-section {
  display: none;
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
  margin-top: 20px;
}

.filter-row {
  margin-bottom: 15px;
}

.filter-group {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.filter-title {
  font-weight: 600;
  color: #495057;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-toggle-filters {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.btn-toggle-filters:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.employee-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.employee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.employee-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.employee-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid #e9ecef;
}

.employee-info h5 {
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
}

.employee-info p {
  margin: 5px 0 0 0;
  color: #6c757d;
  font-size: 14px;
}

.employee-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.detail-item {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
}

.detail-label {
  font-weight: 600;
  color: #495057;
  display: block;
  margin-bottom: 3px;
}

.skills-container,
.interests-container {
  margin-top: 10px;
}

.skill-tag,
.interest-tag {
  display: inline-block;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 4px 10px;
  margin: 2px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.interest-tag {
  background: linear-gradient(45deg, #f093fb, #f5576c);
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active {
  background: #d4edda;
  color: #155724;
}

.status-inactive {
  background: #f8d7da;
  color: #721c24;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.no-results i {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.results-count {
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-weight: 500;
  color: #495057;
}

.clear-filters {
  background: #dc3545;
  border: none;
  color: white;
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 12px;
  margin-left: 10px;
}

#result {
  position: absolute;
  width: 100%;
  max-width: 870px;
  cursor: pointer;
  overflow-y: auto;
  max-height: 400px;
  box-sizing: border-box;
  z-index: 1001;
}

.link-class:hover {
  background-color: #f1f1f1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  align-items: center;
}

h3 {
  align-items: center;
}

.pagination-container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pagination .page-link {
  color: #667eea;
  border: 2px solid #e9ecef;
  padding: 8px 16px;
  margin: 0 2px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border-color: #667eea;
  transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-color: #667eea;
  color: white;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #f8f9fa;
  border-color: #e9ecef;
}

.pagination-info {
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .employee-details {
    grid-template-columns: 1fr;
  }

  .employee-header {
    flex-direction: column;
    text-align: center;
  }

  .employee-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
