/* ==================== PAGE-SPECIFIC STYLES ==================== */

/* Tercih Robotu Filters & Search Bar */
.tr-search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tr-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

/* Tercih Robotu Program List Cards */
.tr-card-row {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.tr-card-row:hover {
  border-color: var(--border-color-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.tr-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.tr-card-mid {
  flex: 1;
}

.tr-card-right {
  min-width: 170px;
}

/* CountDown Timer Cards */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.countdown-val {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.countdown-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 8px;
}

/* Feature Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(120, 120, 120, 0.3);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(24px); }
