/* Genel */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: #e5e7eb;
}

/* Uygulama iskeleti */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(129,140,248,0.15));
  backdrop-filter: blur(18px);
}

.header-text h1 {
  font-size: 22px;
  font-weight: 700;
}

.header-text p {
  font-size: 14px;
  color: #cbd5f5;
}

.badge {
  margin-left: auto;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.6);
  background: radial-gradient(circle at top left, rgba(59,130,246,0.2), transparent);
  color: #e5e7eb;
}

/* Ana alan */
.main {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  max-width: 1200px;
  margin: 16px auto 24px;
  width: 100%;
  gap: 16px;
  padding: 0 12px;
}

/* Sidebar */
.sidebar {
  border-radius: 18px;
  padding: 16px 14px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.2);
  box-shadow: 0 18px 60px rgba(15,23,42,0.9);
}

.sidebar h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.week-list {
  list-style: none;
  margin-bottom: 14px;
}

.week-list li {
  margin-bottom: 6px;
}

.week-button {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #e5e7eb;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.week-button span.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9ca3af;
}

.week-button.active {
  background: radial-gradient(circle at top left, rgba(59,130,246,0.5), rgba(37,99,235,0.8));
  border-color: rgba(191,219,254,0.7);
  box-shadow: 0 10px 30px rgba(37,99,235,0.6);
}

.week-button.active span.dot {
  background: #facc15;
}

.week-button small {
  color: #9ca3af;
}

/* Bilgi kartları */
.info-card {
  margin-top: 12px;
  padding: 10px 10px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.25), rgba(15,23,42,1));
  border: 1px solid rgba(96,165,250,0.5);
  font-size: 13px;
}

.info-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.info-card ol,
.info-card ul {
  padding-left: 16px;
}

.info-card li {
  margin-bottom: 4px;
}

.info-card.secondary {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.4);
}

/* Content */
.content {
  border-radius: 18px;
  padding: 14px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.2);
  box-shadow: 0 18px 60px rgba(15,23,42,0.9);
  min-height: 400px;
}

.week-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.week-title span.level {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  color: #e5e7eb;
}

/* Days */
.days-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Accordion / Gün kartı */
.day-card {
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.3);
  background: radial-gradient(circle at top left, rgba(30,64,175,0.35), rgba(15,23,42,1));
  overflow: hidden;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.day-header-main {
  flex: 1;
}

.day-header-title {
  font-size: 14px;
  font-weight: 600;
}

.day-header-meta {
  font-size: 11px;
  color: #9ca3af;
}

.day-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(191,219,254,0.5);
  color: #e5e7eb;
}

.chevron {
  font-size: 14px;
  transition: transform 0.18s ease;
}

.day-card.open .chevron {
  transform: rotate(90deg);
}

/* İçerik */
.day-body {
  display: none;
  padding: 8px 10px 10px 10px;
  font-size: 13px;
  border-top: 1px solid rgba(148,163,184,0.25);
  background: rgba(15,23,42,0.85);
}

.day-card.open .day-body {
  display: block;
}

.section-label {
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 2px;
  color: #bfdbfe;
  font-size: 12px;
}

.day-list {
  margin-left: 18px;
  margin-bottom: 4px;
}

.day-list li {
  margin-bottom: 2px;
}

.day-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: #cbd5f5;
}

/* Responsive */
@media (max-width: 900px) {
  .main {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
  .content {
    order: 1;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .badge {
    margin-left: 0;
  }
}
