/* === NAVBAR HEADER === */
.navbar .header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar .header-left img {
  width: 60px;
  height: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar .header-titles h1 {
  font-size: 18px;
  font-weight: 500;
  margin-left: -170px;
}

.navbar .header-titles h2 {
  font-size: 15px;
  font-weight: 500;
  margin-left: -170px;
}

/* === FITUR PENCARIAN (SEARCH BAR) === */
.search-container {
  max-width: 500px;
  margin: -25px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.search-box {
  width: 100%;
  padding: 15px 20px 15px 50px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  outline: none;
}

.search-container i {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 18px;
}

/* === GRID DATA GURU === */
.teacher-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Card Guru */
.teacher-card {
  background-color: #f1f9ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  padding: 20px;
  gap: 20px;
  align-items: center;
  border-left: 5px solid var(--primary-red);
  transition: transform 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Foto Guru */
.teacher-photo {
  width: 100px;
  height: 130px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #e1e1e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Detail Informasi */
.teacher-info {
  flex: 1;
}

.teacher-name {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 2px;
}

.teacher-subject {
  display: inline-block;
  background-color: #eef4f9;
  color: #1b16aa;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.teacher-details {
  list-style: none;
  font-size: 13px;
  color: #131327;
}

.teacher-details li {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.teacher-details i {
  width: 16px;
  color: var(--primary-blue);
  text-align: center;
}

/* Pesan Jika Pencarian Kosong */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-gray);
  font-size: 16px;
  padding: 40px 0;
  display: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .navbar .header-left img {
    width: 50px;
    height: auto;
  }
  .navbar .header-titles h1 {
    margin-left: -280px;
    font-size: 16px;
    font-weight: 400;
  }
  .navbar .header-titles h2 {
    margin-left: -280px;
    font-size: 14px;
    font-weight: 400;
  }
  .page-header {
    height: 270px;
  }
  .page-header h2 {
    font-size: 28px;
    margin: 30px 0;
  }
  .page-header p {
    font-size: 18px;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .navbar .header-left {
    display: flex;
    align-items: center;
  }
  .navbar .header-left img {
    margin-left: -35px;
    width: 35px;
    height: auto;
  }
  .navbar .header-titles h1 {
    margin-left: -100px;
    font-size: 10px;
    font-weight: 400;
  }
  .navbar .header-titles h2 {
    margin-left: -100px;
    font-size: 9px;
    font-weight: 400;
  }
  .page-header {
    height: 220px;
  }
  .page-header h2 {
    font-size: 16px;
    margin: -5px 0 20px 0;
  }
  .page-header p {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .bar {
    margin-right: -10px;
  }
  .search-container {
    max-width: 300px;
  }
  .search-box {
    padding: 15px 20px 15px 40px;
    font-size: 12px;
  }
  .search-container i {
    position: absolute;
    left: 40px;
    top: 50%;
    font-size: 12px;
  }
  .teacher-card {
    border-radius: 10px;
    padding: 15px;
    gap: 10px;
  }
}
