/* ============================================
   ORAR.CSS – Let's Move Weekly Schedule Page
   ============================================ */

/* ── Page wrapper ── */
.orar-page {
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #fdfefe;
  position: relative;
}



/* ── Inner container ── */
.orar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ── HERO SECTION ── */
.orar-hero {
  padding: 140px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.orar-hero-text {
  flex: 1;
}
.orar-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: #f9a61a;
  border-radius: 44px;
  box-shadow: 0 0 14.5px rgba(249,166,26,0.50);
  font-size: 12px;
  font-weight: 600;
  color: #fdfefe;
  margin-bottom: 32px;
}
.orar-hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  margin: 0 0 16px;
  background: linear-gradient(90deg, #fdfefe 0%, #f9a61a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.orar-hero p {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: #a0a1a1;
  max-width: 730px;
  margin: 0;
}
.orar-hero-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #f9a61a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── SCHEDULE SECTION ── */
.orar-schedule-section {
  padding: 0 0 80px;
}

/* ── Legend ── */
.schedule-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.legend-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 44px;
  font-size: 12px;
  font-weight: 600;
  color: #fdfefe;
  cursor: default;
}
.legend-intens  { background: #ed0dbc; box-shadow: 0 0 14.5px rgba(237,13,188,0.50); }
.legend-mediu   { background: #2f95f2; box-shadow: 0 0 14.5px rgba(47,149,242,0.50); }
.legend-moderat { background: #6fd92f; box-shadow: 0 0 14.5px rgba(111,217,47,0.50); }
.legend-print {
  width: 32px;
  height: 32px;
  border-radius: 44px;
  background: #f9a61a;
  box-shadow: 0 0 14.5px rgba(249,166,26,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
}
.legend-print:hover { opacity: 0.85; }
.legend-print svg { width: 16px; height: 16px; }

/* ── Grid wrapper (scroll on small screens) ── */
.schedule-grid-wrap {
  overflow-x: auto;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

/* ── Grid ── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-width: 800px;
  border-radius: 10px;
  overflow: hidden;
}

/* ── Day header cells ── */
.sched-head {
  background: #fdfefe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 56px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-right: 1px solid #e8e8e8;
}
.sched-head:last-child { border-right: none; }
.sched-head::after {
  content: '';
  position: absolute;
  right: -51px;
  top: -43px;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 79% 21%, rgba(249,166,26,1) 0%, rgba(249,166,26,0) 70%);
}
.sched-head .day-name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 21px;
  position: relative;
  z-index: 1;
}
.sched-head .day-date {
  font-size: 10px;
  font-weight: 600;
  color: #000000;
  line-height: 15px;
  position: relative;
  z-index: 1;
}

/* ── Class cells ── */
.sched-cell {
  background: #fdfefe;
  position: relative;
  overflow: hidden;
  height: 104px;
  box-sizing: border-box;
  padding: 8px;
  border-top: 1px solid #ececec;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.sched-cell:nth-child(6n) { border-right: none; }

/* ── Colored accent circle (right bg) ── */
.sched-cell::after {
  content: '';
  position: absolute;
  right: -53px;
  top: -37px;
  width: 119px;
  height: 119px;
  border-radius: 50%;
  pointer-events: none;
}
/* radial-gradient at top-right of ellipse, matching Figma GRADIENT_LINEAR handle[0] position */
.sched-cell.cell-intens::after  { background: radial-gradient(ellipse at 90% 15%, rgba(237,13,188,1) 0%, rgba(230,104,203,0) 60%); }
.sched-cell.cell-mediu::after   { background: radial-gradient(ellipse at 90% 15%, rgba(47,149,242,1) 0%, rgba(47,149,242,0) 60%)}
.sched-cell.cell-moderat::after { background: radial-gradient(ellipse at 90% 15%, rgba(111,217,47,1) 0%, rgba(147,231,96,0) 60%); }
.sched-cell.cell-empty::after   { background: radial-gradient(ellipse at 90% 15%, rgba(249,166,26,1) 0%, rgba(249,166,26,0) 60%); }

/* ── Cell text ── */
.cell-time {
  font-size: 8px;
  font-weight: 600;
  color: #000;
  line-height: 12px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.cell-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.cell-intens  .cell-name { color: #ed0dbc; }
.cell-mediu   .cell-name { color: #2f95f2; }
.cell-moderat .cell-name { color: #6fd92f; }
.cell-trainer,
.cell-room {
  font-size: 10px;
  font-weight: 500;
  color: #a0a1a1;
  line-height: 15px;
  position: relative;
  z-index: 1;
}

/* ── UPFit Section ── */
.upfit-section {
  padding: 75px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.upfit-section h2 {
  font-size: 52px;
  font-weight: 700;
  line-height: 78px;
  background: linear-gradient(90deg, #fdfefe 0%, #f9a61a 50%, #fdfefe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}
.upfit-cards {
  display: flex;
  align-items: stretch;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
}
.upfit-phone-card {
  width: 480px;
  min-width: 480px;
  height: 460px;
  background: #fdfefe;
  border-radius: 10px;
  overflow: hidden;
}
.upfit-phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.upfit-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 41px;
  padding: 4px 0;
}
.upfit-info-top { display: flex; flex-direction: column; gap: 41px; }
.upfit-detail-block { display: flex; flex-direction: column; gap: 8px; }
.upfit-detail-block h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 24px;
  margin: 0;
}
.upfit-detail-block p {
  font-size: 14px;
  font-weight: 500;
  color: #a0a1a1;
  line-height: 21px;
  margin: 0;
}
.upfit-store-badges {
  display: flex;
  gap: 63px;
  align-items: center;
}
.upfit-store-badges img {
  height: 75px;
  width: auto;
  object-fit: contain;
}
  .mobilewidth {width: 1260px;}

/* ── Print styles ── */
@media print {
  .orar-page::before, .orar-page::after { display: none; }
  .orar-page { background: #fff; color: #111; }
  .orar-hero, .upfit-section { display: none; }
  .schedule-legend .legend-print { display: none; }
  .orar-badge { background: #f9a61a; }
  .schedule-grid-wrap { overflow: visible; }
  .schedule-grid { min-width: unset; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .orar-hero h1 { font-size: 24px; line-height: 36px; }
  .upfit-cards { flex-direction: column; align-items: center; }
  .upfit-phone-card { width: 100%; min-width: unset; height: auto; }
  .upfit-section h2 { font-size: 32px; line-height: 48px; }
  .upfit-store-badges { gap: 20px; }
  .mobilewidth {width: auto;}

/* ── SCHEDULE SECTION ── */
.orar-schedule-section {
  padding: 0 0 0px;
}
}
@media (max-width: 600px) {
  .orar-hero { flex-direction: column; padding: 140px 0 24px; }
  .orar-hero-icon { display: none; }
  .upfit-phone-card { height: 280px; }
}

/* ── UpFit section — text aliniat stânga doar pe pagina Orar ── */
.orar-page .app-section-title,
.orar-page .app-text,
.orar-page .app-note {
  text-align: left;
}
.orar-page .app-mobile-title {
  text-align: center;
}

/* ── Iframe orar ── */
.orar-iframe-section {
  width: calc(100% - 80px);
  max-width: 1360px;
  margin: 0 auto 60px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.orar-iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: none;
}


