/* Schedule Area Styling */
.schedule-area {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.schedule-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Site Heading */
.site-heading {
  position: relative;
  z-index: 2;
}

.site-title-tagline {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.site-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.site-title span {
  color: #ff9800;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-title-desc {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Schedule Table Wrapper */
.schedule-table-wrapper {
  position: relative;
  z-index: 2;
  margin: 50px 0;
}

.schedule-table-container {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* Table Styling */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* Table Header */
.schedule-table thead {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
}

.schedule-table th {
  padding: 25px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #ff9800;
  position: relative;
}

.schedule-table th i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.schedule-table th::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: #ff9800;
  transition: width 0.3s ease;
}

.schedule-table th:hover::after {
  width: 100%;
}

/* Table Body */
.schedule-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.schedule-table tbody tr:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.schedule-table tbody tr:last-child {
  border-bottom: none;
}

.schedule-table td {
  padding: 25px 20px;
  vertical-align: middle;
}

/* Jalur Cell Styling */
.jalur-cell {
  min-width: 300px;
}

.jalur-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.jalur-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.jalur-snmptn .jalur-icon,
.schedule-row:nth-child(4n+1) .jalur-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.jalur-sbmptn .jalur-icon,
.schedule-row:nth-child(4n+2) .jalur-icon {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.jalur-mandiri .jalur-icon,
.schedule-row:nth-child(4n+3) .jalur-icon {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.jalur-kip .jalur-icon,
.schedule-row:nth-child(4n) .jalur-icon {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.jalur-details h5 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.jalur-details span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* Date Cell Styling */
.date-cell {
  min-width: 150px;
  text-align: center;
}

.date-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.date-day {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff9800;
  line-height: 1;
}

.date-month {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Status Cell Styling */
.status-cell {
  text-align: center;
  min-width: 120px;
}

.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid;
  transition: all 0.3s ease;
}

.status-upcoming {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: #fff;
  border-color: #0984e3;
}

.status-active {
  background: linear-gradient(135deg, #00b894, #00a085);
  color: #fff;
  border-color: #00a085;
}

.status-belum-dimulai {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: #fff;
  border-color: #0984e3;
}

.status-sedang-berlangsung {
  background: linear-gradient(135deg, #00b894, #00a085);
  color: #fff;
  border-color: #00a085;
}

.status-sudah-berakhir {
  background: linear-gradient(135deg, #fd79a8, #e84393);
  color: #fff;
  border-color: #e84393;
}

/* Gelombang Cell Styling */
.gelombang-cell {
  text-align: center;
  min-width: 120px;
}

.gelombang-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gelombang-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Biaya Cell Styling */
.biaya-cell {
  text-align: center;
  min-width: 130px;
}

.biaya-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.biaya-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: #27ae60;
}

/* Empty State Styling */
.empty-state {
  padding: 40px 20px;
  text-align: center;
}

.empty-state i {
  margin-bottom: 15px;
}

.empty-state h5 {
  margin-bottom: 10px;
}

.empty-state p {
  margin-bottom: 0;
}

.status-closed {
  background: linear-gradient(135deg, #fd79a8, #e84393);
  color: #fff;
  border-color: #e84393;
}

.status-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Info Cards */
.schedule-info {
  position: relative;
  z-index: 2;
}

.info-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.info-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.info-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .schedule-table-container {
    overflow-x: auto;
  }
  
  .schedule-table {
    min-width: 800px;
  }
  
  .site-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .schedule-area {
    padding: 60px 0;
  }
  
  .site-title {
    font-size: 1.8rem;
  }
  
  .site-title-desc {
    font-size: 1rem;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: 15px 12px;
  }
  
  .jalur-info {
    gap: 10px;
  }
  
  .jalur-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .jalur-details h5 {
    font-size: 1rem;
  }
  
  .date-day {
    font-size: 1.5rem;
  }
  
  .info-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .schedule-table th,
  .schedule-table td {
    padding: 12px 8px;
  }
  
  .jalur-cell {
    min-width: 200px;
  }
  
  .date-cell {
    min-width: 100px;
  }
  
  .jalur-details h5 {
    font-size: 0.9rem;
  }
  
  .jalur-details span {
    font-size: 0.8rem;
  }
  
  .date-day {
    font-size: 1.3rem;
  }
  
  .date-month {
    font-size: 0.8rem;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.schedule-table-wrapper {
  animation: fadeInUp 0.8s ease-out;
}

.info-card {
  animation: fadeInUp 0.8s ease-out;
}

.info-card:nth-child(2) {
  animation-delay: 0.2s;
}

.info-card:nth-child(3) {
  animation-delay: 0.4s;
}

/* Loading Animation for Table Rows */
.schedule-row {
  animation: fadeInUp 0.6s ease-out;
}

.schedule-row:nth-child(2) { animation-delay: 0.1s; }
.schedule-row:nth-child(3) { animation-delay: 0.2s; }
.schedule-row:nth-child(4) { animation-delay: 0.3s; }
.schedule-row:nth-child(5) { animation-delay: 0.4s; }
