/* ============================================================
   Webtymize Academy Countdown Widget v2
   Eğitim: lacivert kart + turuncu CTA
   Program: turuncu kart + lacivert CTA
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --wac-navy:      #201F5B;
  --wac-navy-2:    #2e2d7a;
  --wac-orange:    #F26328;
  --wac-orange-lt: #f57c4a;
  --wac-white:     #ffffff;
  --wac-border:    rgba(255,255,255,.12);
  --wac-font:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --wac-shadow:    0 20px 60px rgba(32,31,91,.22);
}

.wac-wrap *, .wac-wrap *::before, .wac-wrap *::after { box-sizing: border-box; }
.wac-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px 24px;
  font-family: var(--wac-font);
  -webkit-font-smoothing: antialiased;
}

/* ── CARD BASE ── */
.wac-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-radius: 20px;
  box-shadow: var(--wac-shadow);
  overflow: hidden;
  min-height: 130px;
}
.wac-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2;
}
.wac-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  pointer-events: none;
}

/* ── EĞİTİM KARTI — lacivert arka plan, turuncu CTA ── */
.wac-card--egitim {
  background: linear-gradient(135deg, #201F5B 0%, #2e2d7a 100%);
}
.wac-card--egitim::before {
  background: linear-gradient(120deg, #F26328 0%, #f57c4a 100%);
}
.wac-card--egitim::after {
  background: radial-gradient(circle, rgba(242,99,40,.22) 0%, transparent 70%);
}
.wac-card--egitim .wac-cta {
  background: linear-gradient(120deg, #F26328 0%, #f57c4a 100%);
  box-shadow: 0 8px 24px rgba(242,99,40,.38);
}
.wac-card--egitim .wac-cta:hover {
  box-shadow: 0 14px 32px rgba(242,99,40,.52);
}
.wac-card--egitim .wac-event-type-tag {
  color: var(--wac-orange-lt);
  background: rgba(242,99,40,.15);
  border-color: rgba(242,99,40,.25);
}

/* ── PROGRAM KARTI — turuncu arka plan, lacivert CTA ── */
.wac-card--program {
  background: linear-gradient(135deg, #F26328 0%, #f57c4a 100%);
}
.wac-card--program::before {
  background: linear-gradient(120deg, #201F5B 0%, #2e2d7a 100%);
}
.wac-card--program::after {
  background: radial-gradient(circle, rgba(32,31,91,.22) 0%, transparent 70%);
}
.wac-card--program .wac-cta {
  background: linear-gradient(135deg, #201F5B 0%, #2e2d7a 100%);
  box-shadow: 0 8px 24px rgba(32,31,91,.38);
}
.wac-card--program .wac-cta:hover {
  box-shadow: 0 14px 32px rgba(32,31,91,.52);
}
.wac-card--program .wac-event-type-tag {
  color: rgba(255,255,255,.9);
  background: rgba(32,31,91,.2);
  border-color: rgba(32,31,91,.3);
}
.wac-card--program .wac-badge {
  background: rgba(32,31,91,.18);
  border-color: rgba(32,31,91,.22);
  color: rgba(255,255,255,.9);
}
.wac-card--program .wac-sep { color: var(--wac-navy); }
.wac-card--program .wac-quota-bar-fill { background: var(--wac-navy) !important; }

/* ── LEFT ── */
.wac-left {
  padding: 26px 32px;
  border-right: 1px solid var(--wac-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.wac-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 15px;
  border-radius: 999px;
  white-space: nowrap;
}
.wac-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wac-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 54px;
}
.wac-num {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.wac-lbl {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wac-sep {
  font-size: 28px;
  font-weight: 900;
  color: var(--wac-orange);
  line-height: 1;
  margin-bottom: 14px;
  opacity: .8;
}

/* ── MIDDLE ── */
.wac-middle {
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.wac-event-type-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid;
  align-self: flex-start;
}
.wac-event-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.wac-quota { display: flex; flex-direction: column; gap: 6px; }
.wac-quota-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wac-quota-label {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
}
.wac-quota-status {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,.9);
}
.wac-quota-bar-bg {
  width: 100%;
  height: 9px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  overflow: hidden;
}
.wac-quota-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--wac-orange);
  transition: width .6s ease;
}
.wac-quota-pct {
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.wac-quota-pct strong {
  color: #fff;
  font-weight: 800;
}

/* ── RIGHT ── */
.wac-right {
  padding: 26px 30px;
  border-left: 1px solid var(--wac-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.wac-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 14px;
  color: #fff;
  font-family: var(--wac-font);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: all .22s ease;
  border: none;
  cursor: pointer;
}
.wac-cta:hover { transform: translateY(-2px); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wac-card { grid-template-columns: 1fr; min-height: auto; }
  .wac-left { border-right: none; border-bottom: 1px solid var(--wac-border); padding: 22px 24px; }
  .wac-middle { padding: 20px 24px; }
  .wac-right { border-left: none; border-top: 1px solid var(--wac-border); padding: 20px 24px; flex-direction: row; justify-content: space-between; }
  .wac-num { font-size: 30px; }
  .wac-unit { min-width: 44px; }
  .wac-sep { font-size: 22px; margin-bottom: 12px; }
  .wac-event-title { font-size: 16px; }
}
@media (max-width: 560px) {
  .wac-wrap { padding: 0 12px 20px; }
  .wac-left { padding: 18px 20px; }
  .wac-timer { gap: 5px; }
  .wac-num { font-size: 26px; }
  .wac-unit { min-width: 38px; }
  .wac-sep { font-size: 18px; margin-bottom: 10px; }
  .wac-middle { padding: 16px 20px; }
  .wac-event-title { font-size: 15px; }
  .wac-right { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .wac-cta { width: 100%; }
}
