/* === 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;
}

/* === NAVIGASI TABS === */
.tabs-container {
  max-width: 900px;
  margin: -25px auto 40px;
  display: flex;
  background: var(--white);
  padding: 8px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 5;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tab-btn i {
  font-size: 16px;
}

.tab-btn.active {
  background-color: var(--primary-red);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(91, 155, 213, 0.3);
}

/* === KONTEN UTAMA === */
.content-container {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.tab-panel {
  display: none;
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-title {
  color: var(--dark-blue);
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eef4f9;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Kustom Tabel & List di KBM */
.academic-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 15px;
}

.academic-table th,
.academic-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  text-align: left;
}

.academic-table th {
  background-color: #eef4f9;
  color: var(--dark-blue);
  font-weight: bold;
}

.academic-table tr:nth-child(even) {
  background-color: #f9fbfd;
}

/* Gaya Khusus Kurikulum */
.info-box {
  background-color: #f4f8fc;
  border-left: 4px solid var(--primary-blue);
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
}

.curriculum-list {
  list-style: none;
  margin-top: 15px;
}

.curriculum-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.curriculum-list i {
  color: #d4a017;
  margin-top: 5px;
}

/* Gaya Kalender Pendidikan */
.calendar-download {
  text-align: center;
  padding: 30px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  margin-top: 25px;
  background-color: #fafafa;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #d4a017;
  color: var(--white);
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.btn-download:hover {
  background-color: #b8860b;
  transform: scale(1.03);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .tabs-container {
    display: flex;
    border-radius: 15px;
    padding: 10px;
  }
  .tab-btn {
    border-radius: 8px;
  }
  .academic-table {
    font-size: 13px;
  }
  .academic-table th,
  .academic-table td {
    padding: 8px 10px;
  }
  .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) {
  .tabs-container {
    flex-direction: column;
    border-radius: 15px;
    padding: 10px;
  }
  .tab-btn {
    border-radius: 8px;
  }
  .academic-table {
    font-size: 12px;
  }
  .academic-table th,
  .academic-table td {
    padding: 8px 10px;
  }
  .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;
  }
}
