@charset "UTF-8";@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');.hamburger-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #ff8c00);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-button:hover .hamburger-line {
  filter: brightness(1.2);
}

.hamburger-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  cursor: pointer;
  animation: hamburgerFadeIn 0.2s ease-out;
}

.hamburger-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(15, 20, 30, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  z-index: 201;
  padding: 1.5rem 0;
  overflow-y: auto;
  border-right: 2px solid rgba(255, 77, 77, 0.2);
  animation: hamburgerSlideIn 0.25s ease-out;
}

.hamburger-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  font-size: 1.75rem;
  line-height: 1;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-close:hover {
  opacity: 1;
}

.hamburger-section {
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.hamburger-section:first-of-type {
  margin-top: 3rem;
}

.hamburger-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 77, 77, 0.8);
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 77, 77, 0.2);
}

.hamburger-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger-list li {
  margin-bottom: 0.25rem;
}

.hamburger-link {
  display: block;
  padding: 0.6rem 0.75rem;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}

.hamburger-link:hover {
  background: rgba(255, 77, 77, 0.1);
  color: #fff;
}

.hamburger-link-active {
  background: rgba(255, 77, 77, 0.15);
  color: #fff;
  border-left-color: #ff4d4d;
}

@keyframes hamburgerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hamburgerSlideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
.header {
  background: rgba(15, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 77, 77, 0.1);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(255, 77, 77, 0.2);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-hamburger-slot {
  width: 40px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-nav-placeholder {
  min-width: 8rem;
}

.header-nav-link {
  text-decoration: none;
  color: inherit;
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 50%, #ff4d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  position: relative;
  line-height: 1.2;
  animation: titlePulse 2s ease-in-out infinite;
  transition: all 0.3s;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #ff8c00, #ff4d4d);
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

.header-nav-link:hover {
  filter: brightness(1.2);
}

.header-title {
  flex: 1;
  text-align: left;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.header-title h1 {
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 50%, #ff4d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  word-break: break-word;
  line-height: 1.2;
  animation: titlePulse 2s ease-in-out infinite;
}

.header-title h1::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #ff8c00, #ff4d4d);
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
}

@keyframes titlePulse {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.85;
    filter: brightness(1.2);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 0;
  }
  
  .header-content {
    padding: 0 1rem;
  }
  
  .header-title h1 {
    font-size: 1.2rem;
    letter-spacing: -0.3px;
  }

  .header-nav-link {
    font-size: 1.2rem;
    letter-spacing: -0.3px;
  }
}.footer {
  background: rgba(15, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 77, 77, 0.1);
  padding: 1.5rem 0;
  margin-top: auto;
  border-top: 2px solid rgba(255, 77, 77, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-right {
  display: flex;
  align-items: center;
}

.privacy-link {
  color: #ff8c00;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  position: relative;
}

.privacy-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4d4d;
  transition: width 0.3s;
}

.privacy-link:hover {
  color: #ff4d4d;
}

.privacy-link:hover::after {
  width: 100%;
}

.garmin-logo {
  height: 52px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.garmin-logo:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .garmin-logo {
    height: 45px;
  }
}
/* DetailContent wraps markdown/HTML from OpenAI. Main styles come from .markdown-content in DayCard.css / TrainingPlanForm.css etc. */
.detail-content {
  width: 100%;
}

.detail-content > div + div {
  margin-top: 0;
}
/* Daily Triangle – inspired by „Generovat pomocí AI“ card: border, bg, glow */

.longevity-triangle-container {
  width: 100%;
  padding: 1.5rem;
  margin-top: 1rem;
  border-radius: 16px;
  background-color: rgba(20, 25, 35, 0.6);
  border: 2px solid rgba(255, 77, 77, 0.4);
  position: relative;
  overflow: hidden;
  animation: triangleContainerReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  box-shadow:
    0 8px 32px rgba(255, 77, 77, 0.25),
    0 0 0 1px rgba(255, 77, 77, 0.08);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.longevity-triangle-container:hover {
  border-color: rgba(255, 77, 77, 0.6);
  box-shadow:
    0 12px 40px rgba(255, 77, 77, 0.3),
    0 0 0 1px rgba(255, 77, 77, 0.12);
}

/* Subtle red/orange tint (kept light to match card look) */
.longevity-triangle-container::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse 70% 60% at 50% 48%,
    rgba(255, 77, 77, 0.04) 0%,
    rgba(255, 140, 0, 0.02) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.longevity-triangle-container .triangle-heading {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 50%, #ff4d4d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ff4d4d;
  position: relative;
  z-index: 1;
  animation: headingReveal 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.longevity-triangle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
  animation: wrapperReveal 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.longevity-triangle-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

/* Outer triangle – gradient stroke, one-time draw, subtle cool glow */
.triangle-outline {
  stroke: url(#triangleOuterStrokeGradient);
  stroke-width: 2.5;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  fill: none;
  animation: outlineDraw 1.2s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.35)) drop-shadow(0 0 16px rgba(255, 140, 0, 0.2));
}

/* Inner triangle – heartbeat pulse at user's resting HR (--heartbeat-duration from profile), gentle glow on pump */
.triangle-inner {
  transform-origin: 100px 112px;
  animation:
    innerTriangleReveal 1s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
    innerTriangleHeartbeat var(--heartbeat-duration, 1s) 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 77, 77, 0.2));
}

@keyframes innerTriangleHeartbeat {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 77, 77, 0.2));
  }
  14% {
    transform: scale(1.028);
    filter: drop-shadow(0 0 20px rgba(255, 77, 77, 0.45)) drop-shadow(0 0 30px rgba(255, 140, 0, 0.2));
  }
  28% {
    transform: scale(1.008);
    filter: drop-shadow(0 0 12px rgba(255, 77, 77, 0.25));
  }
  42% {
    transform: scale(1.022);
    filter: drop-shadow(0 0 18px rgba(255, 77, 77, 0.4)) drop-shadow(0 0 28px rgba(255, 140, 0, 0.15));
  }
  56% {
    transform: scale(1.01);
    filter: drop-shadow(0 0 12px rgba(255, 77, 77, 0.25));
  }
  70%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 77, 77, 0.2));
  }
}

/* Side lines – gradient strokes */
.triangle-side {
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  stroke-width: 3;
  animation: sideDraw 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0.85;
}

.triangle-side-sport { animation-delay: 0.7s; }
.triangle-side-diet { animation-delay: 0.9s; }
.triangle-side-sleep { animation-delay: 1.1s; }

.triangle-label {
  opacity: 0;
  animation: labelPop 0.5s ease-out forwards;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.triangle-label-sleep { animation-delay: 1.2s; fill: #fff; }
.triangle-label-sport { animation-delay: 1.3s; fill: #fff; }
.triangle-label-diet { animation-delay: 1.4s; fill: #fff; }

/* Corner effect: only on orange elements, no impact on dark background – clipped + blend */
.triangle-corner-effect-wrapper {
  mix-blend-mode: lighten;
  pointer-events: none;
}

.triangle-corner-effect {
  pointer-events: none;
  opacity: 0;
  animation: cornerReveal 1s 0.8s ease-out forwards, cornerLightBreathe 6s ease-in-out infinite;
}

/* Out-of-phase delays so intensity varies in a natural, non-synced way */
.triangle-corner-top { animation-delay: 0.8s, 0s; }
.triangle-corner-right { animation-delay: 0.8s, 2.1s; }
.triangle-corner-left { animation-delay: 0.8s, 4.2s; }

@keyframes cornerLightBreathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.38; }
}

/* Score badge – system palette */
.triangle-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.6rem 1.25rem;
  margin-top: 1rem;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.2) 0%, rgba(255, 140, 0, 0.15) 50%, rgba(255, 77, 77, 0.2) 100%);
  border: 1px solid rgba(255, 77, 77, 0.35);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  animation: scoreBadgeReveal 0.9s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.triangle-score-badge.high {
  animation: scoreBadgeReveal 0.9s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.longevity-summary {
  position: relative;
  z-index: 1;
  animation: summaryReveal 0.6s 1.4s ease-out both;
}

/* ——— Keyframes ——— */
@keyframes triangleContainerReveal {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes headingReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wrapperReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes outlineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes innerTriangleReveal {
  from {
    opacity: 0;
    transform: scale(0.25);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sideDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes cornerReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes labelPop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scoreBadgeReveal {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes summaryReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .longevity-triangle-svg {
    max-width: 280px;
  }
  .triangle-label {
    font-size: 10px;
  }
  .triangle-score-badge {
    font-size: 1.25rem;
    min-width: 3.5rem;
    padding: 0.45rem 1rem;
  }
}
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
  border: 1px solid rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.2);
  border-radius: 8px;
  color: #ff8c00;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.share-button:hover:not(:disabled) {
  color: #ffa726;
  background: rgba(255, 140, 0, 0.35);
  border-color: rgba(255, 140, 0, 0.7);
}

.share-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.share-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.share-button-spinner {
  font-size: 1rem;
}

.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  z-index: 10000;
}

.share-modal {
  background: rgba(20, 25, 35, 0.98);
  border: 1px solid rgba(255, 77, 77, 0.25);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 90vw;
  width: 480px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 77, 77, 0.08);
}

.share-modal-title {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.share-modal-error {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.share-modal-url-label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #a0a0a0;
}

.share-modal-url-wrap {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.share-modal-url-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #e8e8e8;
  font-size: 0.8rem;
  font-family: inherit;
  overflow-x: auto;
}

.share-modal-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.share-modal-buttons .share-modal-btn-copy {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.35);
}

.share-modal-buttons .share-modal-btn-copy:hover {
  background: linear-gradient(135deg, #ff3333 0%, #ff7700 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 77, 77, 0.45);
}

.share-modal-buttons .share-modal-btn-close {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  background: rgba(255, 77, 77, 0.12);
  border: 1px solid rgba(255, 77, 77, 0.35);
  color: #ff6b6b;
}

.share-modal-buttons .share-modal-btn-close:hover {
  background: rgba(255, 77, 77, 0.22);
  transform: translateY(-2px);
}
.day-card {
  display: flex;
  flex-direction: column;
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 0.75rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  transition: all 0.3s;
  border: 1px solid rgba(255, 77, 77, 0.2);
  position: relative;
  overflow: visible;
}

.day-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ff4d4d, #ff8c00);
  opacity: 0;
  transition: opacity 0.3s;
}

.day-card:hover {
  box-shadow: 0 12px 40px rgba(255, 77, 77, 0.3), 0 0 0 1px rgba(255, 77, 77, 0.3);
  transform: translateY(-4px);
  border-color: rgba(255, 77, 77, 0.4);
}

.day-card:hover::before {
  opacity: 1;
}

.day-card-header {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-bottom: 0;
  padding-bottom: 2rem;
  position: relative;
}

.expand-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  min-height: 1.5rem;
  z-index: 2;
  flex-shrink: 0;
}

.day-name {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.day-content {
  flex: 1;
  min-height: 0;
  color: #d0d0d0;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
  white-space: pre-wrap;
}

/* Strength training content formatting - simple: each exercise on new line */
.strength-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.strength-item {
  line-height: 1.6;
  color: #d0d0d0;
}

.day-details {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.detail-section {
  margin-bottom: 1.5rem;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section strong {
  color: #ff8c00;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-section p {
  color: #c0c0c0;
  line-height: 1.8;
  white-space: pre-wrap;
  font-size: 0.95rem;
}

.html-content {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.html-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 77, 77, 1);
  font-size: 1.3rem;
  font-weight: bold;
}

.html-content h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
}

.html-content p {
  margin-bottom: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.html-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  color: #e0e0e0;
}

.html-content li {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.html-content a {
  color: #ff8c00;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 140, 0, 0.3);
  transition: all 0.2s;
}

.html-content a:hover {
  color: #ff4d4d;
  border-bottom-color: #ff4d4d;
}

.html-content strong {
  color: rgba(255, 140, 0, 1);
  font-weight: 700;
}

/* Sources toggle button styles */
.sources-toggle-btn {
  background: transparent !important;
  border: 1px solid rgba(255, 140, 0, 0.3) !important;
  color: #ff8c00 !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
  margin-bottom: 0.5rem !important;
  font-family: inherit !important;
}

.sources-toggle-btn:hover {
  border-color: #ff8c00 !important;
  background-color: rgba(255, 140, 0, 0.1) !important;
  transform: translateY(-1px);
}

.sources-toggle-btn:active {
  transform: translateY(0);
}

.sources-content {
  margin-top: 0.5rem;
}

.markdown-content {
  color: #c0c0c0;
  line-height: 1.8;
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  color: #ffffff;
  font-weight: 700;
  display: block;
  line-height: 1.3;
}

.markdown-content h1 {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.markdown-content h2 {
  font-size: 1.35rem;
  color: rgba(255, 77, 77, 1);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.markdown-content h3 {
  font-size: 1.15rem;
  color: rgba(255, 77, 77, 1);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.markdown-content h4 {
  font-size: 1.05rem;
  color: rgba(255, 140, 0, 0.95);
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.markdown-content h5 {
  font-size: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.3rem;
}

.markdown-content h6 {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

/* Zvýšit odstup h3 nadpisů po seznamech zdrojů nebo jiných seznamech */
.markdown-content ul.sources-list + h3,
.markdown-content ul + h3,
.markdown-content ol + h3 {
  margin-top: 2rem;
}

.markdown-content p {
  margin-bottom: 1rem;
  color: #c0c0c0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.markdown-content ul,
.markdown-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content ul {
  list-style-type: disc;
}

/* Snížit mezeru mezi odstavcem a seznamem zdrojů */
.markdown-content p + ul.sources-list {
  margin-top: 0.25rem;
}

.markdown-content li {
  margin-bottom: 0.5rem;
  margin-left: 0;
  padding-left: 0.25rem;
  color: #c0c0c0;
  line-height: 1.6;
  display: list-item;
}

.markdown-content a,
.html-content a {
  color: #ff8c00;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 140, 0, 0.3);
  transition: all 0.2s;
}

.markdown-content a:hover,
.html-content a:hover {
  color: #ff4d4d;
  border-bottom-color: #ff4d4d;
}

/* Kompaktnější zobrazení pro seznamy se zdroji */
.markdown-content ul.sources-list {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  margin-left: 1.5rem;
}

.markdown-content ul.sources-list li {
  margin-bottom: 0.15rem;
  line-height: 1.3;
  color: #a0a0a0;
}

.markdown-content ul.sources-list li small {
  display: block;
  line-height: 1.25;
  font-size: 0.85em;
  color: #a0a0a0;
  margin: 0;
}

.markdown-content strong {
  color: #ff8c00;
  font-weight: 700;
  display: inline;
}

/* Benefit section - white text, keep large size */
.detail-section.benefit-section .markdown-content {
  color: #ffffff !important;
}

.detail-section.benefit-section .markdown-content strong {
  color: #ffffff !important;
  font-weight: 700;
}

.detail-section.benefit-section .markdown-content p {
  color: #ffffff !important;
}

.detail-section.benefit-section .markdown-content p strong {
  color: #ffffff !important;
}

.detail-section.benefit-section .markdown-content li {
  color: #ffffff !important;
}

.detail-section.benefit-section .markdown-content li strong {
  color: #ffffff !important;
}

/* Strong elementy v seznamech musí zůstat inline, aby nerozbíjely text */
.markdown-content li strong,
.markdown-content ul strong,
.markdown-content ol strong {
  display: inline !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.detail-section.benefit-section .markdown-content h1,
.detail-section.benefit-section .markdown-content h2,
.detail-section.benefit-section .markdown-content h3,
.detail-section.benefit-section .markdown-content h4,
.detail-section.benefit-section .markdown-content h5,
.detail-section.benefit-section .markdown-content h6 {
  color: #ffffff !important;
}

.markdown-content em {
  font-style: italic;
  color: #ff8c00;
  font-weight: 600;
}

.markdown-content code {
  background: rgba(255, 77, 77, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #ff9999;
}

.markdown-content pre {
  background: rgba(10, 14, 26, 0.6);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.markdown-content pre code {
  background: transparent;
  padding: 0;
  color: #c0c0c0;
}

.markdown-content hr {
  border: none;
  border-top: 2px solid rgba(255, 140, 0, 0.5);
  margin: 1.5rem 0;
  height: 0;
}

.markdown-content hr:first-child {
  margin-top: 0;
}

.markdown-content hr:last-child {
  margin-bottom: 0;
}

.workout-section {
  margin-top: 2rem;
}

.workout-section .btn {
  margin-bottom: 1rem;
}

.workout-section .btn:last-child {
  margin-bottom: 0;
}

/* Remove margin-bottom for buttons in flex containers with gap */
.workout-buttons-container .btn {
  margin-bottom: 0;
}

.workout-text-section {
  margin-bottom: 1.5rem;
}

.workout-text-section label {
  display: block;
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workout-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  resize: vertical;
  transition: all 0.3s;
  background: rgba(10, 14, 26, 0.6);
  color: #ffffff;
  line-height: 1.6;
}

.workout-textarea:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2), 0 0 20px rgba(255, 77, 77, 0.1);
  background: rgba(10, 14, 26, 0.8);
}

.btn-workout,
.btn-evaluate {
  width: 100%;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 77, 77, 0.4);
}

/* Keep evaluate button at bottom of card header when in grid */
.day-card-header > .btn-evaluate {
  margin-top: auto;
}

.btn-workout:hover:not(:disabled),
.btn-evaluate:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff3333 0%, #ff7700 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 77, 77, 0.6);
}

.btn-download {
  width: 100%;
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 204, 102, 0.4);
}

.btn-download:hover:not(:disabled) {
  background: linear-gradient(135deg, #00bb55 0%, #009944 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 204, 102, 0.6);
}

.btn-garmin {
  width: 100%;
  background: linear-gradient(135deg, #6DCFF6 0%, #5AB8D9 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(109, 207, 246, 0.4);
  border: none;
}

.btn-garmin:hover:not(:disabled) {
  background: linear-gradient(135deg, #5AB8D9 0%, #4AA3C2 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(109, 207, 246, 0.6);
}

.btn-garmin.uploaded {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
}

.btn-garmin.uploaded:hover:not(:disabled) {
  background: linear-gradient(135deg, #218838 0%, #1c7430 100%);
  box-shadow: 0 6px 30px rgba(40, 167, 69, 0.6);
}

.fit-instructions {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(20, 25, 35, 0.6);
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #b0b0b0;
  border-left: 3px solid rgba(255, 140, 0, 0.3);
}

.fit-instructions strong {
  color: #ff8c00;
  font-weight: 600;
}

.fit-instructions code {
  background: rgba(255, 77, 77, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.delete-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.delete-confirm-dialog {
  position: relative;
  background: rgba(20, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: min(500px, calc(100vw - 2rem));
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid rgba(220, 53, 69, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(220, 53, 69, 0.2);
  z-index: 1001;
  margin: auto;
}

.delete-confirm-dialog h3 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.delete-confirm-dialog p {
  color: #b0b0b0;
  margin: 0 0 2rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.delete-confirm-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
  padding-right: 0.5rem;
}

.delete-confirm-buttons .btn {
  text-transform: none;
  padding: 0.875rem 1.75rem;
}

.delete-confirm-buttons .btn.btn-primary {
  width: 200px;
}

@media (max-width: 768px) {
  .delete-confirm-dialog {
    padding: 1.5rem;
  }

  .delete-confirm-dialog h3 {
    font-size: 1.25rem;
  }

  .delete-confirm-dialog p {
    font-size: 0.9rem;
  }

  .delete-confirm-buttons {
    flex-direction: column-reverse;
  }

  .delete-confirm-buttons .btn,
  .delete-confirm-buttons .btn.btn-primary,
  .delete-confirm-buttons button {
    width: 100%;
    font-size: 0.9em;
    color: #ff9999;
  }
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.error-message {
  background: rgba(255, 77, 77, 0.2);
  color: #ff9999;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 77, 77, 0.4);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.2);
}

@media (max-width: 768px) {
  .day-card {
    padding: 1rem 1rem 0.6rem 1rem;
    border-radius: 12px;
  }

  .day-card-header {
    padding-bottom: 1.25rem;
  }

  .day-name {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    word-break: break-word;
    line-height: 1.3;
  }

  .day-content {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .day-details {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .detail-section {
    margin-bottom: 1.25rem;
  }

  .detail-section strong {
    font-size: 0.9rem;
  }

  .detail-section p {
    font-size: 0.85rem;
  }

  .markdown-content {
    font-size: 0.85rem;
  }

  .markdown-content h1 {
    font-size: 1.2rem;
  }

  .markdown-content h2 {
    font-size: 1.1rem;
  }

  .markdown-content h3 {
    font-size: 1rem;
  }

  .workout-section {
    margin-top: 1.5rem;
  }

  .workout-text-section label {
    font-size: 0.9rem;
  }

  .workout-textarea {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  .fit-instructions {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}

.plus-menu-btn {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.plus-menu-btn:hover {
  background: rgba(255, 140, 0, 0.2);
  color: #ff8c00;
}

/* Manual activity modal */
.manual-activity-modal {
  background: rgba(20, 25, 35, 0.98);
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
}

.manual-activity-modal h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #ff8c00;
  font-size: 1.2rem;
}

.manual-activity-textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  resize: vertical;
  border: 2px solid rgba(255, 77, 77, 0.3);
  background: rgba(10, 14, 26, 0.6);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.manual-activity-textarea:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2);
}

.manual-activity-form {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.manual-activity-form-title {
  font-size: 0.85rem;
  color: #ff8c00;
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.manual-activity-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.manual-activity-row:last-child {
  margin-bottom: 0;
}

.manual-activity-row label {
  flex: 0 0 140px;
  color: #b0b0b0;
  font-size: 0.9rem;
}

.manual-activity-row input[type="text"],
.manual-activity-row input[type="number"] {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(255, 77, 77, 0.25);
  border-radius: 8px;
  background: rgba(10, 14, 26, 0.6);
  color: #fff;
  font-size: 0.95rem;
}

.manual-activity-row input:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

.manual-activity-row input::placeholder {
  color: #666;
}

.manual-activity-select {
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(255, 77, 77, 0.25);
  border-radius: 8px;
  background: rgba(10, 14, 26, 0.6);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
}

.manual-activity-select:focus {
  outline: none;
  border-color: #ff4d4d;
}
.training-schedule {
  width: 100%;
  padding: 0 2rem 2rem;
}

.schedule-header-info {
  position: relative;
  margin-bottom: 2.5rem;
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2.5rem 4rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.schedule-header-share {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
}

.schedule-header-info h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.schedule-subtitle {
  color: #b0b0b0;
  font-size: 1.2rem;
  font-weight: 600;
}

.details-info {
  margin-bottom: 2rem;
  background: rgba(20, 25, 35, 0.6);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.details-info h3 {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.days-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 1400px) {
  .days-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Expanded day card takes full width with smooth animation */
.days-grid {
  /* Enable smooth transitions for grid layout changes */
  transition: grid-template-columns 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.days-grid .day-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Smooth transition for grid position changes */
  will-change: grid-column;
}

.days-grid .day-card.expanded {
  grid-column: 1 / -1;
  /* Subtle animation to indicate expansion */
  animation: expandCard 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes expandCard {
  from {
    opacity: 0.98;
  }
  to {
    opacity: 1;
  }
}

.ics-instructions {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(20, 25, 35, 0.6);
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #b0b0b0;
  border-left: 3px solid rgba(255, 140, 0, 0.3);
}

.ics-instructions strong {
  color: #ff8c00;
  font-weight: 600;
}

.error-message {
  background: rgba(255, 77, 77, 0.2);
  color: #ff9999;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 77, 77, 0.4);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.2);
}

.success-message {
  background: rgba(40, 167, 69, 0.2);
  color: #6cff8d;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid rgba(40, 167, 69, 0.4);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.2);
}

.day-name {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-garmin {
  background: linear-gradient(135deg, #6DCFF6 0%, #5AB8D9 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(109, 207, 246, 0.4);
  border: none;
}

.btn-garmin:hover:not(:disabled) {
  background: linear-gradient(135deg, #5AB8D9 0%, #4AA3C2 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(109, 207, 246, 0.6);
}

.btn-garmin.uploaded {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
}

.btn-garmin.uploaded:hover:not(:disabled) {
  background: linear-gradient(135deg, #218838 0%, #1c7430 100%);
  box-shadow: 0 6px 30px rgba(40, 167, 69, 0.6);
}

/* Supplements content styling – reset gradient text so diacritics render correctly */
.recommended-supplements-box .supplements-content,
.recommended-supplements-box .supplements-content .detail-content,
.recommended-supplements-box .supplements-content .detail-content * {
  -webkit-text-fill-color: unset;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  background-image: none;
}

.supplements-content {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.supplements-content h4:first-of-type {
  margin-top: 0.5rem;
}

.supplements-content h4 + p {
  margin-top: 0.5rem;
}

.supplements-content p:has(strong) {
  margin-bottom: 0.5rem;
}

.supplements-content p:not(:has(strong)) {
  color: #d0d0d0;
  margin-left: 0.5rem;
}

.supplements-content ul {
  margin-top: 0.5rem;
}

.supplements-content ul.sources-list {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.supplements-content ul.sources-list li {
  margin-bottom: 0.15rem;
  line-height: 1.3;
  color: #a0a0a0;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .training-schedule {
    padding: 0 1rem 1.5rem;
  }

  .schedule-header-info {
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .schedule-header-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
    line-height: 1.3;
  }

  .schedule-subtitle {
    font-size: 1rem;
  }

  .details-info {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .details-info h3 {
    font-size: 1.25rem;
  }

  .days-grid {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .ics-instructions {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}

.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  border-color: #ccc;
  border-style: solid;
  border-width: 3px 3px 0 0;
  content: "";
  display: block;
  height: 9px;
  position: absolute;
  top: 6px;
  width: 9px;
}
.react-datepicker-wrapper {
  display: inline-block;
  padding: 0;
  border: 0;
}

.react-datepicker {
  font-family: "Helvetica Neue", helvetica, arial, sans-serif;
  font-size: 0.8rem;
  background-color: #fff;
  color: #000;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  display: inline-block;
  position: relative;
  line-height: initial;
}

.react-datepicker--time-only .react-datepicker__time-container {
  border-left: 0;
}
.react-datepicker--time-only .react-datepicker__time,
.react-datepicker--time-only .react-datepicker__time-box {
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.react-datepicker-popper {
  z-index: 1;
  line-height: 0;
}
.react-datepicker-popper .react-datepicker__triangle {
  stroke: #aeaeae;
}
.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
  fill: #f0f0f0;
  color: #f0f0f0;
}
.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
  fill: #fff;
  color: #fff;
}

.react-datepicker__header {
  text-align: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #aeaeae;
  border-top-left-radius: 0.3rem;
  padding: 8px 0;
  position: relative;
}
.react-datepicker__header--time {
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
}
.react-datepicker__header--time:not(.react-datepicker__header--time--only) {
  border-top-left-radius: 0;
}
.react-datepicker__header:not(.react-datepicker__header--has-time-select) {
  border-top-right-radius: 0.3rem;
}

.react-datepicker__year-dropdown-container--select,
.react-datepicker__month-dropdown-container--select,
.react-datepicker__month-year-dropdown-container--select,
.react-datepicker__year-dropdown-container--scroll,
.react-datepicker__month-dropdown-container--scroll,
.react-datepicker__month-year-dropdown-container--scroll {
  display: inline-block;
  margin: 0 15px;
}

.react-datepicker__current-month,
.react-datepicker-time__header,
.react-datepicker-year-header {
  margin-top: 0;
  color: #000;
  font-weight: bold;
  font-size: 0.944rem;
}

h2.react-datepicker__current-month {
  padding: 0;
  margin: 0;
}

.react-datepicker-time__header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.react-datepicker__navigation {
  align-items: center;
  background: none;
  display: flex;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: 2px;
  padding: 0;
  border: none;
  z-index: 1;
  height: 32px;
  width: 32px;
  text-indent: -999em;
  overflow: hidden;
}
.react-datepicker__navigation--previous {
  left: 2px;
}
.react-datepicker__navigation--next {
  right: 2px;
}
.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 85px;
}
.react-datepicker__navigation--years {
  position: relative;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__navigation--years-previous {
  top: 4px;
}
.react-datepicker__navigation--years-upcoming {
  top: -4px;
}
.react-datepicker__navigation:hover *::before {
  border-color: rgb(165.75, 165.75, 165.75);
}

.react-datepicker__navigation-icon {
  position: relative;
  top: -1px;
  font-size: 20px;
  width: 0;
}
.react-datepicker__navigation-icon--next {
  left: -2px;
}
.react-datepicker__navigation-icon--next::before {
  transform: rotate(45deg);
  left: -7px;
}
.react-datepicker__navigation-icon--previous {
  right: -2px;
}
.react-datepicker__navigation-icon--previous::before {
  transform: rotate(225deg);
  right: -7px;
}

.react-datepicker__month-container {
  float: left;
}

.react-datepicker__year {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__year-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 180px;
}
.react-datepicker__year .react-datepicker__year-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__month {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__month .react-datepicker__month-text,
.react-datepicker__month .react-datepicker__quarter-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__input-time-container {
  clear: both;
  width: 100%;
  float: left;
  margin: 5px 0 10px 15px;
  text-align: left;
}
.react-datepicker__input-time-container .react-datepicker-time__caption {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {
  display: inline-block;
  margin-left: 10px;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {
  width: auto;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {
  -moz-appearance: textfield;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {
  margin-left: 5px;
  display: inline-block;
}

.react-datepicker__time-container {
  float: right;
  border-left: 1px solid #aeaeae;
  width: 85px;
}
.react-datepicker__time-container--with-today-button {
  display: inline;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  position: absolute;
  right: -87px;
  top: 0;
}
.react-datepicker__time-container .react-datepicker__time {
  position: relative;
  background: white;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
  width: 85px;
  overflow-x: hidden;
  margin: 0 auto;
  text-align: center;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
  list-style: none;
  margin: 0;
  height: calc(195px + 1.7rem / 2);
  overflow-y: scroll;
  padding-right: 0;
  padding-left: 0;
  width: 100%;
  box-sizing: content-box;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
  height: 30px;
  padding: 5px 10px;
  white-space: nowrap;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
  background-color: #216ba5;
  color: white;
  font-weight: bold;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {
  background-color: #216ba5;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {
  color: #ccc;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {
  cursor: default;
  background-color: transparent;
}

.react-datepicker__week-number {
  color: #ccc;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable {
  cursor: pointer;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__week-number--selected {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__week-number--selected:hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}

.react-datepicker__day-names {
  white-space: nowrap;
  margin-bottom: -8px;
}

.react-datepicker__week {
  white-space: nowrap;
}

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  color: #000;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}

.react-datepicker__day,
.react-datepicker__month-text,
.react-datepicker__quarter-text,
.react-datepicker__year-text {
  cursor: pointer;
}
.react-datepicker__day:not([aria-disabled=true]):hover,
.react-datepicker__month-text:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text:not([aria-disabled=true]):hover,
.react-datepicker__year-text:not([aria-disabled=true]):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__day--today,
.react-datepicker__month-text--today,
.react-datepicker__quarter-text--today,
.react-datepicker__year-text--today {
  font-weight: bold;
}
.react-datepicker__day--highlighted,
.react-datepicker__month-text--highlighted,
.react-datepicker__quarter-text--highlighted,
.react-datepicker__year-text--highlighted {
  border-radius: 0.3rem;
  background-color: #3dcc4a;
  color: #fff;
}
.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {
  background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);
}
.react-datepicker__day--highlighted-custom-1,
.react-datepicker__month-text--highlighted-custom-1,
.react-datepicker__quarter-text--highlighted-custom-1,
.react-datepicker__year-text--highlighted-custom-1 {
  color: magenta;
}
.react-datepicker__day--highlighted-custom-2,
.react-datepicker__month-text--highlighted-custom-2,
.react-datepicker__quarter-text--highlighted-custom-2,
.react-datepicker__year-text--highlighted-custom-2 {
  color: green;
}
.react-datepicker__day--holidays,
.react-datepicker__month-text--holidays,
.react-datepicker__quarter-text--holidays,
.react-datepicker__year-text--holidays {
  position: relative;
  border-radius: 0.3rem;
  background-color: #ff6803;
  color: #fff;
}
.react-datepicker__day--holidays .overlay,
.react-datepicker__month-text--holidays .overlay,
.react-datepicker__quarter-text--holidays .overlay,
.react-datepicker__year-text--holidays .overlay {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}
.react-datepicker__day--holidays:not([aria-disabled=true]):hover,
.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {
  background-color: rgb(207, 82.9642857143, 0);
}
.react-datepicker__day--holidays:hover .overlay,
.react-datepicker__month-text--holidays:hover .overlay,
.react-datepicker__quarter-text--holidays:hover .overlay,
.react-datepicker__year-text--holidays:hover .overlay {
  visibility: visible;
  opacity: 1;
}
.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--selected,
.react-datepicker__year-text--in-selecting-range,
.react-datepicker__year-text--in-range {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}
.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  border-radius: 0.3rem;
  background-color: rgb(186.25, 217.0833333333, 241.25);
  color: rgb(0, 0, 0);
}
.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}
.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range) {
  background-color: rgba(33, 107, 165, 0.5);
}
.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range) {
  background-color: #f0f0f0;
  color: #000;
}
.react-datepicker__day--disabled,
.react-datepicker__month-text--disabled,
.react-datepicker__quarter-text--disabled,
.react-datepicker__year-text--disabled {
  cursor: default;
  color: #ccc;
}
.react-datepicker__day--disabled .overlay,
.react-datepicker__month-text--disabled .overlay,
.react-datepicker__quarter-text--disabled .overlay,
.react-datepicker__year-text--disabled .overlay {
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}

.react-datepicker__input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}
.react-datepicker__input-container .react-datepicker__calendar-icon {
  position: absolute;
  padding: 0.5rem;
  box-sizing: content-box;
}

.react-datepicker__view-calendar-icon input {
  padding: 6px 10px 5px 25px;
}

.react-datepicker__year-read-view,
.react-datepicker__month-read-view,
.react-datepicker__month-year-read-view {
  border: 1px solid transparent;
  border-radius: 0.3rem;
  position: relative;
}
.react-datepicker__year-read-view:hover,
.react-datepicker__month-read-view:hover,
.react-datepicker__month-year-read-view:hover {
  cursor: pointer;
}
.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  transform: rotate(135deg);
  right: -16px;
  top: 0;
}

.react-datepicker__year-dropdown,
.react-datepicker__month-dropdown,
.react-datepicker__month-year-dropdown {
  background-color: #f0f0f0;
  position: absolute;
  width: 50%;
  left: 25%;
  top: 30px;
  z-index: 1;
  text-align: center;
  border-radius: 0.3rem;
  border: 1px solid #aeaeae;
}
.react-datepicker__year-dropdown:hover,
.react-datepicker__month-dropdown:hover,
.react-datepicker__month-year-dropdown:hover {
  cursor: pointer;
}
.react-datepicker__year-dropdown--scrollable,
.react-datepicker__month-dropdown--scrollable,
.react-datepicker__month-year-dropdown--scrollable {
  height: 150px;
  overflow-y: scroll;
}

.react-datepicker__year-option,
.react-datepicker__month-option,
.react-datepicker__month-year-option {
  line-height: 20px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__year-option:first-of-type,
.react-datepicker__month-option:first-of-type,
.react-datepicker__month-year-option:first-of-type {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}
.react-datepicker__year-option:last-of-type,
.react-datepicker__month-option:last-of-type,
.react-datepicker__month-year-option:last-of-type {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__year-option:hover,
.react-datepicker__month-option:hover,
.react-datepicker__month-year-option:hover {
  background-color: #ccc;
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {
  border-bottom-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option--selected,
.react-datepicker__month-option--selected,
.react-datepicker__month-year-option--selected {
  position: absolute;
  left: 15px;
}

.react-datepicker__close-icon {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: 0;
  padding: 0 6px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}
.react-datepicker__close-icon::after {
  cursor: pointer;
  background-color: #216ba5;
  color: #fff;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  padding: 2px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  content: "×";
}
.react-datepicker__close-icon--disabled {
  cursor: default;
}
.react-datepicker__close-icon--disabled::after {
  cursor: default;
  background-color: #ccc;
}

.react-datepicker__today-button {
  background: #f0f0f0;
  border-top: 1px solid #aeaeae;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
  clear: left;
}

.react-datepicker__portal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 2147483647;
}
.react-datepicker__portal .react-datepicker__day-name,
.react-datepicker__portal .react-datepicker__day,
.react-datepicker__portal .react-datepicker__time-name {
  width: 3rem;
  line-height: 3rem;
}
@media (max-width: 400px), (max-height: 550px) {
  .react-datepicker__portal .react-datepicker__day-name,
  .react-datepicker__portal .react-datepicker__day,
  .react-datepicker__portal .react-datepicker__time-name {
    width: 2rem;
    line-height: 2rem;
  }
}
.react-datepicker__portal .react-datepicker__current-month,
.react-datepicker__portal .react-datepicker-time__header {
  font-size: 1.44rem;
}

.react-datepicker__children-container {
  width: 13.8rem;
  margin: 0.4rem;
  padding-right: 0.2rem;
  padding-left: 0.2rem;
  height: auto;
}

.react-datepicker__aria-live {
  position: absolute;
  clip-path: circle(0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  width: 1px;
  white-space: nowrap;
}

.react-datepicker__calendar-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}
.time-picker-wrapper {
  width: 100%;
}

.time-picker-input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  text-align: center;
  background: rgba(10, 14, 26, 0.6);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.time-picker-input:hover {
  border-color: #ff4d4d;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1);
}

.time-picker-input:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2), 0 0 20px rgba(255, 77, 77, 0.1);
  background: rgba(10, 14, 26, 0.8);
}

.time-picker-input::placeholder {
  color: #666;
}

/* React DatePicker dark mode styles for time picker */
.react-datepicker {
  font-family: 'Inter', sans-serif;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: rgba(20, 25, 35, 0.95);
  backdrop-filter: blur(10px);
}

.react-datepicker__header {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding-top: 1rem;
}

.react-datepicker__current-month {
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.react-datepicker__day-name {
  color: white;
  font-weight: 700;
}

.react-datepicker__day {
  border-radius: 6px;
  transition: all 0.2s;
  color: #e0e0e0;
}

.react-datepicker__day:hover {
  background: rgba(255, 77, 77, 0.3);
  border-radius: 6px;
  color: white;
}

.react-datepicker__day--selected {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  color: white;
  font-weight: 700;
}

.react-datepicker__day--selected:hover {
  background: linear-gradient(135deg, #ff3333 0%, #ff7700 100%);
}

.react-datepicker__day--keyboard-selected {
  background: rgba(255, 77, 77, 0.3);
  color: white;
}

.react-datepicker__day--disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #666;
}

.react-datepicker__navigation {
  top: 1rem;
}

.react-datepicker__navigation-icon::before {
  border-color: white;
}

.react-datepicker__triangle {
  display: none;
}

.react-datepicker__time-container {
  border-left: 1px solid rgba(255, 77, 77, 0.3);
  background: rgba(20, 25, 35, 0.95) !important;
}

.react-datepicker__time-container .react-datepicker__time {
  background: rgba(20, 25, 35, 0.95) !important;
}

.react-datepicker__time-list {
  background: rgba(20, 25, 35, 0.95) !important;
}

.react-datepicker__time-list-item {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: #e0e0e0 !important;
  background: rgba(20, 25, 35, 0.95) !important;
  transition: all 0.2s;
  border-radius: 4px;
  margin: 2px 4px;
}

.react-datepicker__time-list-item:hover {
  background: rgba(255, 77, 77, 0.5) !important;
  color: white !important;
  font-weight: 700 !important;
  transform: scale(1.05);
}

.react-datepicker__time-list-item--selected {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(255, 77, 77, 0.4) !important;
}

.react-datepicker__time-list-item--selected:hover {
  background: linear-gradient(135deg, #ff3333 0%, #ff7700 100%) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(255, 77, 77, 0.6) !important;
  transform: scale(1.05);
}

.react-datepicker__time-list-item--disabled {
  color: #666;
  opacity: 0.5;
}
.date-picker-wrapper {
  width: 100%;
}

.date-picker-input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
  background: rgba(10, 14, 26, 0.6);
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
}

.date-picker-input:hover {
  border-color: #ff4d4d;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1);
}

.date-picker-input:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2), 0 0 20px rgba(255, 77, 77, 0.1);
  background: rgba(10, 14, 26, 0.8);
}

.date-picker-input::placeholder {
  color: #666;
}

/* React DatePicker dark mode styles */
.react-datepicker {
  font-family: 'Inter', sans-serif;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: rgba(20, 25, 35, 0.95);
  backdrop-filter: blur(10px);
}

.react-datepicker__header {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding-top: 1rem;
}

.react-datepicker__current-month {
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.react-datepicker__day-name {
  color: white;
  font-weight: 700;
  width: 2.5rem;
  line-height: 2.5rem;
}

.react-datepicker__day {
  border-radius: 6px;
  transition: all 0.2s;
  color: #e0e0e0;
  width: 2.5rem;
  line-height: 2.5rem;
}

.react-datepicker__day:hover {
  background: rgba(255, 77, 77, 0.3);
  border-radius: 6px;
  color: white;
}

.react-datepicker__day--selected {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  color: white;
  font-weight: 700;
}

.react-datepicker__day--selected:hover {
  background: linear-gradient(135deg, #ff3333 0%, #ff7700 100%);
}

.react-datepicker__day--keyboard-selected {
  background: rgba(255, 77, 77, 0.3);
  color: white;
}

.react-datepicker__day--disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #666;
}

.react-datepicker__navigation {
  top: 1rem;
}

.react-datepicker__navigation-icon::before {
  border-color: white;
}

.react-datepicker__triangle {
  display: none;
}

.react-datepicker__week-number {
  color: #888;
  font-weight: 600;
}
/* Day timeline – pouze dnešek, barvy systému (.btn-primary, .card) */
.day-timeline-wrapper {
  margin: 1rem 0;
  border-radius: 12px;
  background: rgba(20, 25, 35, 0.6);
  border: 1px solid rgba(255, 77, 77, 0.2);
  padding: 1rem;
}

.day-timeline-loading,
.day-timeline-error {
  margin: 0;
  padding: 1rem;
  color: #b0b0b0;
  text-align: center;
}

.day-timeline-error {
  color: #ff6b6b;
}

.day-timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

/* Osa 0–24 h – stejné odsazení jako lane (label 82px + gap), aby ticky seděly na tracky */
.day-timeline-axis-wrap {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.day-timeline-axis-spacer {
  width: 82px;
  flex-shrink: 0;
}

.day-timeline-axis {
  position: relative;
  flex: 1;
  height: 28px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.day-timeline-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  height: 100%;
  width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.day-timeline-tick-label {
  position: absolute;
  left: 2px;
  top: 4px;
  font-size: 0.7rem;
  color: #b0b0b0;
  white-space: nowrap;
}

/* Značka „Teď“ */
.day-timeline-now {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ff4d4d 0%, #ff8c00 100%);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}

.day-timeline-now-label {
  position: absolute;
  left: 4px;
  top: 2px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ff8c00;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

/* Řádky (Spánek, Suplementy, Aktivity, Jídla) */
.day-timeline-lanes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.day-timeline-lane {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 28px;
}

.day-timeline-lane-label {
  width: 82px;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #b0b0b0;
}

.day-timeline-lane-track {
  position: relative;
  flex: 1;
  height: 26px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(255, 77, 77, 0.15);
}

/* Položky na ose */
.day-timeline-item {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 6px;
  box-sizing: border-box;
}

.day-timeline-item-text {
  font-size: 0.7rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Barvy podle typu – systém .btn-primary gradient a odvozeniny */
.day-timeline-item-sleep {
  background: rgba(77, 148, 255, 0.75);
  border: 1px solid rgba(77, 148, 255, 0.5);
}

.day-timeline-item-supplement {
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.8) 0%, rgba(255, 140, 0, 0.8) 100%);
  border: 1px solid rgba(255, 77, 77, 0.4);
}

.day-timeline-item-activity {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  border: 1px solid rgba(255, 77, 77, 0.4);
  box-shadow: 0 2px 8px rgba(255, 77, 77, 0.3);
}

.day-timeline-item-meal {
  background: rgba(40, 167, 69, 0.8);
  border: 1px solid rgba(40, 167, 69, 0.5);
}

.day-timeline-item.is-past {
  opacity: 0.75;
}

/* Green only for taken supplements that are not in the past; past items stay blue */
.day-timeline-item-supplement.is-taken:not(.is-past) {
  background: rgba(40, 167, 69, 0.9);
  border-color: rgba(40, 167, 69, 0.6);
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.4);
}

/* Semantic colors: planned/recommended = orange, realized = blue */
.day-timeline-item.is-recommendation {
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.85) 0%, rgba(255, 140, 0, 0.85) 100%);
  border: 1px solid rgba(255, 140, 0, 0.5);
  box-shadow: 0 1px 4px rgba(255, 140, 0, 0.25);
}

.day-timeline-item.is-realized {
  background: rgba(77, 148, 255, 0.75);
  border: 1px solid rgba(77, 148, 255, 0.5);
}

.day-timeline-item.is-realized.day-timeline-item-supplement.is-taken:not(.is-past) {
  background: rgba(40, 167, 69, 0.9);
  border-color: rgba(40, 167, 69, 0.6);
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.4);
}

.day-timeline-item.is-point {
  width: 8px !important;
  min-width: 8px;
  border-radius: 50%;
  padding: 0;
}

.day-timeline-item.is-point .day-timeline-item-text {
  display: none;
}

/* Kliknutelné položky – na mobilu zobrazí popisek */
.day-timeline-item {
  cursor: pointer;
}

.day-timeline-item:focus-visible {
  outline: 2px solid rgba(255, 140, 0, 0.8);
  outline-offset: 2px;
}

/* Popover po kliknutí (title na mobilu) – backdrop nechytá kliky, aby šlo hned klepnout na jinou položku */
.day-timeline-popover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.day-timeline-popover {
  position: fixed;
  transform: translate(-50%, -100%);
  min-width: 200px;
  max-width: min(280px, calc(100vw - 2rem));
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(30, 35, 45, 0.98);
  border: 1px solid rgba(255, 77, 77, 0.35);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  white-space: normal;
  word-break: break-word;
  pointer-events: auto; /* bublina chytá kliky (zavření jen přes listener při kliku mimo) */
}

.day-timeline-popover-time {
  font-size: 0.75rem;
  color: #ff8c00;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.day-timeline-popover-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.day-timeline-popover-label {
  color: #fff;
}

/* Legenda */
.day-timeline-legend {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 77, 77, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.75rem;
  color: #b0b0b0;
}

.day-timeline-legend-item::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: middle;
  content: '';
}

.day-timeline-legend-item.planned::before {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
}

.day-timeline-legend-item.realized::before {
  background: rgba(77, 148, 255, 0.8);
}

.day-timeline-legend-item.now::before {
  width: 3px;
  height: 12px;
  background: linear-gradient(180deg, #ff4d4d 0%, #ff8c00 100%);
}

.garmin-error {
  padding: 0.75rem 1rem;
  background: rgba(255, 77, 77, 0.15);
  border: 1px solid rgba(255, 77, 77, 0.4);
  border-left: 4px solid #ff4d4d;
  border-radius: 8px;
  color: #ff6b6b;
  margin-bottom: 1rem;
  font-weight: 500;
}

.garmin-connected {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
  min-height: 2rem;
}

.garmin-connected .btn {
  position: absolute;
  top: 0;
  right: 0;
  text-transform: none;
  letter-spacing: normal;
}

.garmin-status {
  color: #4ade80;
  font-weight: 600;
  margin: 0;
  font-size: 0.9rem;
}

.garmin-disconnected {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.garmin-disconnected p {
  margin: 0;
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.6;
}

.garmin-connect-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #6DCFF6 0%, #5AB8D9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  align-self: flex-start;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(109, 207, 246, 0.3);
}

.garmin-connect-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #5AB8D9 0%, #4AA3C2 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(109, 207, 246, 0.4);
}

.garmin-connect-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.training-plan-form {
  width: 100%;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.5rem;
  box-sizing: border-box;
}

.card {
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  max-width: 100%;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 77, 77, 0.2);
  box-sizing: border-box;
}

.card h2 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 1rem;
}

.card h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff4d4d, #ff8c00);
  border-radius: 2px;
}

.physiology-required-card {
  border-color: rgba(255, 193, 7, 0.5);
  background: rgba(255, 193, 7, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 193, 7, 0.2);
}

.physiology-required-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #ffc107;
  font-weight: 700;
}

.physiology-required-text {
  margin: 0;
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.4;
}

.physiology-required-hint {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 193, 7, 0.9);
}

/* Responsive physiology inline grids (required box, profile, main form) */
.physiology-inline-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.physiology-inline-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.physiology-inline-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .physiology-inline-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .physiology-inline-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .physiology-inline-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .physiology-inline-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .physiology-inline-grid-5 {
    grid-template-columns: 1fr;
  }
}

.card .card-collapsible-header {
  position: relative;
  margin-bottom: 0;
}

.card--saved-trainings {
  padding: 1rem 1.25rem;
}

.card .card-collapsible-header .expand-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  min-height: 1.5rem;
  z-index: 2;
  flex-shrink: 0;
}

.saved-trainings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  max-height: min(400px, 60vh);
  overflow-y: auto;
  padding: 0.5rem 1rem 1rem 1rem;
}

.training-plan-form .saved-training-card {
  display: block;
  padding: 1.75rem 2.25rem;
  border: 1px solid rgba(255, 77, 77, 0.2);
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  background-color: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  transition: all 0.3s;
  position: relative;
  box-sizing: border-box;
  line-height: 1.5;
}

.saved-training-card:hover {
  box-shadow: 0 12px 40px rgba(255, 77, 77, 0.3), 0 0 0 1px rgba(255, 77, 77, 0.3);
  transform: translateY(-4px);
  border-color: rgba(255, 77, 77, 0.4);
}

.saved-training-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  word-break: break-word;
}

.saved-training-card-date {
  font-size: 0.875rem;
  color: #b0b0b0;
  line-height: 1.4;
}

.form-description {
  color: #b0b0b0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.format-example {
  background: rgba(255, 77, 77, 0.1);
  border-left: 4px solid #ff4d4d;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: #e0e0e0;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.format-example div {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.format-example div:last-child {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.textarea-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: all 0.3s;
  background: rgba(10, 14, 26, 0.6);
  color: #ffffff;
  line-height: 1.6;
  box-sizing: border-box;
}

.textarea-input::placeholder {
  color: #666;
}

.textarea-input:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2), 0 0 20px rgba(255, 77, 77, 0.1);
  background: rgba(10, 14, 26, 0.8);
}

.date-picker-wrapper {
  width: 100%;
}

.day-times-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.physiology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 56px auto;
  gap: 0.25rem 1rem;
}

.physiology-grid > div:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.physiology-grid > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.physiology-grid > div:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.physiology-grid > div:nth-child(4) {
  grid-column: 4;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.physiology-grid label {
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  margin-bottom: 0.25rem;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .physiology-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, auto);
  }
  
  .physiology-grid > div {
    grid-column: 1 !important;
  }
  
  .physiology-grid > div:nth-child(1) {
    grid-row: 1 / 3;
  }
  
  .physiology-grid > div:nth-child(2) {
    grid-row: 3 / 5;
  }
  
  .physiology-grid > div:nth-child(3) {
    grid-row: 5 / 7;
  }
  
  .physiology-grid > div:nth-child(4) {
    grid-row: 7 / 9;
  }
}

/* Weekend row - sobota a neděle na vlastním řádku */
.day-times-grid .day-time-item:nth-child(6) {
  grid-column: 1 / 3;
}

.day-times-grid .day-time-item:nth-child(7) {
  grid-column: 3 / 5;
}

@media (max-width: 768px) {
  .day-times-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .day-times-grid .day-time-item:nth-child(6),
  .day-times-grid .day-time-item:nth-child(7) {
    grid-column: span 1;
  }
}

.day-time-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.day-time-item label {
  font-weight: 600;
  color: #ff8c00;
  font-size: 0.9rem;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-hint {
  display: block;
  margin-top: 0.75rem;
  color: #888;
  font-size: 0.875rem;
}

.error-message {
  background: rgba(255, 77, 77, 0.2);
  color: #ff9999;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 2px solid rgba(255, 77, 77, 0.4);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.2);
}

.success-message {
  background: rgba(40, 167, 69, 0.2);
  color: #6cff8d;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 2px solid rgba(40, 167, 69, 0.4);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.2);
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  color: #ffffff;
  width: 100%;
  box-shadow: 0 4px 20px rgba(255, 77, 77, 0.4);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff3333 0%, #ff7700 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 77, 77, 0.6);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border: 2px solid #ff4d4d;
  min-width: 140px;
  flex-shrink: 0;
}

.btn-secondary:hover {
  background: rgba(255, 77, 77, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.3);
}

.btn-garmin {
  width: 100%;
  background: linear-gradient(135deg, #6DCFF6 0%, #5AB8D9 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(109, 207, 246, 0.4);
  border: none;
}

.btn-garmin:hover:not(:disabled) {
  background: linear-gradient(135deg, #5AB8D9 0%, #4AA3C2 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(109, 207, 246, 0.6);
}

.btn-garmin.uploaded {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
}

.btn-garmin.uploaded:hover:not(:disabled) {
  background: linear-gradient(135deg, #218838 0%, #1c7430 100%);
  box-shadow: 0 6px 30px rgba(40, 167, 69, 0.6);
}

.btn-pulse {
  animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 77, 77, 0);
  }
}

.schedule-container {
  width: 100%;
  padding-top: 2rem;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 2rem;
}

.schedule-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .form-container {
    padding: 0.25rem;
  }

  .card {
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
  }

  .card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    word-break: break-word;
    line-height: 1.3;
  }

  .form-description {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .format-example {
    padding: 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .form-group {
    margin-bottom: 0.5rem;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .textarea-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .day-times-grid {
    gap: 1rem;
  }

  .day-time-item label {
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .btn-secondary {
    min-width: auto;
  }

  .schedule-header {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  .schedule-footer {
    flex-direction: column;
    padding: 0 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .schedule-footer .btn-secondary {
    width: 100%;
  }
}

.delete-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.delete-confirm-dialog {
  position: relative;
  background: rgba(20, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: min(500px, calc(100vw - 2rem));
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid rgba(220, 53, 69, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(220, 53, 69, 0.2);
  z-index: 1001;
  margin: auto;
}

.delete-confirm-dialog h3 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.delete-confirm-dialog p {
  color: #b0b0b0;
  margin: 0 0 2rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.delete-confirm-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
  padding-right: 0.5rem;
}

.delete-confirm-buttons .btn {
  text-transform: none;
  padding: 0.875rem 1.75rem;
}

.delete-confirm-buttons .btn.btn-primary {
  width: 200px;
}

@media (max-width: 768px) {
  .delete-confirm-dialog {
    padding: 1.5rem;
  }

  .delete-confirm-dialog h3 {
    font-size: 1.25rem;
  }

  .delete-confirm-dialog p {
    font-size: 0.9rem;
  }

  .delete-confirm-buttons {
    flex-direction: column-reverse;
  }

  .delete-confirm-buttons .btn,
  .delete-confirm-buttons .btn.btn-primary,
  .delete-confirm-buttons button {
    width: 100%;
  }
}

/* Chat message bubble – full width for response, single scroll in chat container */
.chat-message-bubble {
  width: 100%;
}
.chat-message-bubble .detail-content,
.chat-message-bubble .markdown-content {
  min-width: 0;
  width: 100%;
  max-width: none;
}

/* Markdown content styles for training plan explanation */
.markdown-content {
  color: #e0e0e0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  color: #ff6b6b;
  font-weight: 600;
  line-height: 1.3;
}

.markdown-content h1 {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.markdown-content h1:first-child {
  margin-top: 0;
}

.markdown-content h2 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.markdown-content h2:first-child {
  margin-top: 0;
}

.markdown-content h3 {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 1);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.markdown-content h3:first-child {
  margin-top: 0;
}

.markdown-content h4 {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.markdown-content h4:first-child {
  margin-top: 0;
}

.markdown-content h5 {
  font-size: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.3rem;
}

.markdown-content h6 {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.markdown-content p {
  margin-bottom: 0.1rem;
  margin-top: 0;
  padding: 0;
  color: #e0e0e0;
  line-height: 1.4;
  white-space: pre-wrap;
}

.markdown-content p:first-child {
  margin-top: 0;
}

.markdown-content p:last-child {
  margin-bottom: 0;
}

.markdown-content p + p {
  margin-top: 0.1rem;
}

/* Remove spacing for empty paragraphs */
.markdown-content p:empty {
  display: none;
  margin: 0;
  padding: 0;
  height: 0;
  line-height: 0;
}

/* Remove empty <br> tags */
.markdown-content br:empty {
  display: none;
}

/* Remove multiple consecutive <br> tags - keep only one */
.markdown-content br + br {
  display: none;
}

/* Remove spacing for paragraphs that only contain whitespace or are very short */
.markdown-content p:only-child {
  margin: 0;
}

.markdown-content strong {
  color: #ff6b6b;
  font-weight: 600;
}

.markdown-content em {
  font-style: italic;
  color: #ff8c00;
}

.markdown-content ul,
.markdown-content ol {
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 0.35rem;
  color: #e0e0e0;
  padding-left: 1.25rem;
  list-style-position: outside;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content ul {
  list-style-type: disc;
}

.markdown-content ul:first-child,
.markdown-content ol:first-child {
  margin-top: 0;
}

.markdown-content ul:last-child,
.markdown-content ol:last-child {
  margin-bottom: 0;
}

/* Reduce spacing between ul/ol and p elements */
.markdown-content ul + p,
.markdown-content ol + p,
.markdown-content p + ul,
.markdown-content p + ol {
  margin-top: 0.25rem;
}

/* Reduce spacing between headings and lists */
.markdown-content h1 + ul,
.markdown-content h1 + ol,
.markdown-content h2 + ul,
.markdown-content h2 + ol,
.markdown-content h3 + ul,
.markdown-content h3 + ol,
.markdown-content h4 + ul,
.markdown-content h4 + ol,
.markdown-content h5 + ul,
.markdown-content h5 + ol,
.markdown-content h6 + ul,
.markdown-content h6 + ol {
  margin-top: 0.25rem;
}

.markdown-content li {
  margin: 0 0 0.4rem 0;
  padding: 0 0 0 0.25rem;
  margin-left: 0;
  color: #e0e0e0;
  line-height: 1.5;
  display: list-item;
}

.markdown-content li:first-child {
  margin-top: 0;
}

.markdown-content li:last-child {
  margin-bottom: 0;
}

.markdown-content hr {
  border: none;
  border-top: 2px solid rgba(255, 77, 77, 0.3);
  margin: 2rem 0;
  height: 0;
}

.markdown-content hr:first-child {
  margin-top: 0;
}

.markdown-content hr:last-child {
  margin-bottom: 0;
}

.markdown-content pre {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.markdown-content pre code {
  font-family: inherit;
  font-size: 0.9em;
  background: none;
  padding: 0;
}

/* Garmin activities table responsive styles */
@media (max-width: 768px) {
  .training-plan-form table {
    font-size: 0.8rem;
  }

  .training-plan-form table th,
  .training-plan-form table td {
    padding: 0.5rem 0.4rem;
  }

  .training-plan-form table th {
    font-size: 0.75rem;
  }

  .training-plan-form table td {
    font-size: 0.8rem;
  }

  .training-plan-form table img {
    height: 16px !important;
  }

  .training-plan-form .device-cell {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
  }
}

/* Day evaluation result box – wrap text, keep bullets inside */
.day-evaluation-box {
  overflow: visible;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.day-evaluation-box-header {
  position: relative;
  padding-right: 1.5rem;
}

.day-evaluation-box-header .expand-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  min-height: 1.5rem;
  flex-shrink: 0;
}

.day-evaluation-content {
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: visible;
  max-width: 100%;
  box-sizing: border-box;
}

.day-evaluation-content p {
  margin: 0.5rem 0 0.75rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.day-evaluation-content ul,
.day-evaluation-content ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.5rem;
  list-style-position: outside;
  overflow-wrap: break-word;
  word-break: break-word;
}

.day-evaluation-content li {
  margin: 0.25rem 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.day-evaluation-content h2,
.day-evaluation-content h3,
.day-evaluation-content h4 {
  margin: 1rem 0 0.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Daily recommendations info box above day card (collapsible like day-card) */
.daily-recommendations-box {
  margin-bottom: 1rem;
  padding: 0;
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

.daily-recommendations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  position: relative;
  min-height: 3rem;
  user-select: none;
}

.daily-recommendations-header:hover {
  background: rgba(255, 140, 0, 0.06);
}

.daily-recommendations-title {
  margin: 0;
  color: #ff8c00;
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
}

.daily-recommendations-expand-indicator {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.daily-recommendations-box.expanded .daily-recommendations-content {
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
}

.daily-recommendations-box.expanded .daily-recommendations-loading,
.daily-recommendations-box.expanded .daily-recommendations-error {
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
}

.daily-recommendations-box.expanded .daily-recommendations-loading,
.daily-recommendations-box.expanded .daily-recommendations-error {
  margin: 0;
  padding-top: 0.5rem;
}

.daily-recommendations-loading {
  margin: 0;
  color: #b0b0b0;
  font-size: 0.95rem;
}

.daily-recommendations-error {
  margin: 0;
  color: rgba(255, 77, 77, 0.95);
  font-size: 0.95rem;
}

.daily-recommendations-time {
  font-size: 0.8rem;
  color: #b0b0b0;
  margin-bottom: 0.5rem;
}

.daily-recommendations-empty {
  color: #b0b0b0;
  margin: 0.5rem 0;
}

.daily-recommendations-content {
  color: #ffffff;
  line-height: 1.7;
  font-size: 0.95rem;
}

.daily-recommendations-content h1,
.daily-recommendations-content h2,
.daily-recommendations-content h3,
.daily-recommendations-content h4 {
  color: #ff8c00;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.daily-recommendations-content p {
  margin: 0.5rem 0;
}

.daily-recommendations-content ul,
.daily-recommendations-content ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.daily-recommendations-content li {
  margin: 0.25rem 0;
}

/* Loading overlay when fetching training by UUID */
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 2rem;
}

.loading-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 77, 77, 0.2);
  border-top-color: #ff4d4d;
  border-radius: 50%;
  animation: loading-spinner-rotate 0.8s linear infinite;
}

@keyframes loading-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.loading-overlay-text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.loading-overlay-hint {
  margin: 0;
  font-size: 0.95rem;
  color: #b0b0b0;
}
.how-i-feel-widget {
  padding: 1.5rem;
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  max-width: 100%;
  width: 100%;
  border: 1px solid rgba(255, 77, 77, 0.2);
  box-sizing: border-box;
}

/* Embedded: no card/box, content directly under section text (e.g. Consultation page) */
.how-i-feel-widget.embedded {
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Widget in training schedule detail should match day-card styling */
.training-schedule .form-container {
  padding: 0 !important;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: block !important;
}

/* Widget on main page should match full width like in detail */
.training-plan-form .form-container .how-i-feel-widget {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.75rem 1rem !important;
}

.training-schedule .how-i-feel-widget {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
  margin: 0;
  /* Match day-card styling */
  padding: 2.5rem !important;
  background: rgba(20, 25, 35, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1) !important;
  border: 1px solid rgba(255, 77, 77, 0.2) !important;
  transition: all 0.3s !important;
  position: relative !important;
  overflow: visible !important;
}

.how-i-feel-header {
  margin-bottom: 0;
  position: relative;
}

.how-i-feel-header h2 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 1rem;
}

.how-i-feel-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff4d4d, #ff8c00);
  border-radius: 2px;
}

.how-i-feel-header .expand-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  min-height: 1.5rem;
  z-index: 2;
  flex-shrink: 0;
}

.how-i-feel-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.how-i-feel-input-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-i-feel-input-section label {
  display: none;
}

.how-i-feel-input-section small.form-hint {
  display: none;
}

.how-i-feel-input-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  transition: all 0.3s;
  background: rgba(10, 14, 26, 0.8);
  color: #ffffff;
  line-height: 1.6;
}

.how-i-feel-input-section textarea:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2);
  background: rgba(10, 14, 26, 0.9);
}

.how-i-feel-input-section textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.additional-details-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.additional-details-section label {
  color: #ff8c00;
  font-weight: 600;
  font-size: 0.9rem;
}

.additional-details-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  transition: all 0.3s;
  background: rgba(10, 14, 26, 0.8);
  color: #ffffff;
  line-height: 1.6;
}

.additional-details-section textarea:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2);
  background: rgba(10, 14, 26, 0.9);
}

.additional-details-section textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.recommendations-section {
  margin-top: 1rem;
  padding: 1.5rem;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 8px;
}

.recommendations-section h4 {
  margin: 0 0 1rem 0;
  color: #ff8c00;
  font-size: 1.1rem;
  font-weight: 700;
}

.recommendations-content {
  color: #ffffff;
  line-height: 1.8;
  font-size: 0.95rem;
}

.recommendations-content h1,
.recommendations-content h2,
.recommendations-content h3,
.recommendations-content h4 {
  color: #ff8c00;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.recommendations-content p {
  margin: 0.5rem 0;
}

.recommendations-content ul,
.recommendations-content ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.recommendations-content li {
  margin: 0.25rem 0;
}

.actions-section {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 8px;
}

.actions-section h4 {
  margin: 0 0 1rem 0;
  color: #ff8c00;
  font-size: 1.1rem;
  font-weight: 700;
}

.actions-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.actions-buttons button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.actions-buttons button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-garmin {
  width: 100%;
  background: linear-gradient(135deg, #6DCFF6 0%, #5AB8D9 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(109, 207, 246, 0.4);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-garmin:hover:not(:disabled) {
  background: linear-gradient(135deg, #5AB8D9 0%, #4AA3C2 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(109, 207, 246, 0.6);
}

.btn-garmin:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
}

.error-message {
  padding: 0.75rem 1rem;
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  border-radius: 8px;
  color: #dc3545;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .actions-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .actions-buttons button {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .how-i-feel-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    word-break: break-word;
    line-height: 1.3;
  }

  .training-plan-form .form-container .how-i-feel-widget {
    padding: 0.5rem 0.75rem !important;
  }
}
.trainer-chat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trainer-chat-intro {
  padding: 0.75rem 1rem;
  background-color: rgba(20, 25, 35, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(77, 148, 255, 0.2);
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.trainer-chat-intro p {
  margin: 0;
}

.trainer-chat-messages {
  padding: 0.5rem;
  background-color: rgba(10, 15, 25, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(77, 148, 255, 0.2);
  max-height: min(50vh, 400px);
  overflow-y: auto;
}

.trainer-chat-bubble {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  max-width: 85%;
  min-width: min(240px, 100%);
  white-space: pre-wrap;
  word-break: break-word;
  box-sizing: border-box;
}

.trainer-chat-bubble.user {
  margin-left: auto;
  background-color: rgba(77, 148, 255, 0.3);
  border: 1px solid rgba(77, 148, 255, 0.5);
}

.trainer-chat-bubble.assistant {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
}

.trainer-chat-bubble-role {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.25rem;
  font-weight: bold;
}

.trainer-chat-training-block {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background-color: rgba(255, 193, 7, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.trainer-chat-training-block strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffc107;
}

.trainer-chat-training-block pre {
  white-space: pre-wrap;
  word-break: break-word;
  color: #e0e0e0;
  font-size: 0.9rem;
  margin: 0;
}

.trainer-chat-input-wrap {
  margin-top: 0.25rem;
}

.trainer-chat-input-wrap .btn-garmin {
  margin-top: 0.75rem;
  width: 100%;
}
.consultation-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.consultation-title {
  margin: 0 0 1.5rem 0;
  color: #ffffff;
  font-size: 1.75rem;
}

.consultation-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.consultation-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.consultation-footer .btn-secondary {
  min-width: 140px;
}

.consultation-choice-card {
  padding: 2.5rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 16px;
  background-color: rgba(20, 25, 35, 0.6);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.consultation-choice-card:hover {
  border-color: rgba(255, 77, 77, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 77, 77, 0.3);
}

.consultation-choice-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(255, 77, 77, 0.4));
}

.consultation-choice-card-icon.secondary {
  background: none;
  -webkit-text-fill-color: unset;
  filter: none;
}

.consultation-choice-card h3 {
  margin: 0 0 1rem 0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.consultation-choice-card p {
  margin: 0;
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.consultation-back-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.consultation-back-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
}

.consultation-page .btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.consultation-page .btn-secondary {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border: 2px solid #ff4d4d;
  min-width: 140px;
}

.consultation-page .btn-secondary:hover {
  background: rgba(255, 77, 77, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.3);
}

.consultation-section {
  margin-bottom: 2.5rem;
}

.consultation-section h2 {
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  font-size: 1.35rem;
}

.consultation-section-desc {
  margin: 0 0 1rem 0;
  padding: 0.75rem 1rem;
  background-color: rgba(20, 25, 35, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(77, 148, 255, 0.2);
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.how-i-feel-section .form-container {
  margin-bottom: 1rem;
}

.chat-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}
.privacy-policy {
  width: 100%;
  padding: 2rem;
  background: #0a0e1a;
  min-height: 100vh;
}

.privacy-container {
  display: flex;
  justify-content: center;
}

.privacy-card {
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  max-width: 900px;
  width: 100%;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.privacy-card h1 {
  color: #ffffff;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.privacy-content {
  line-height: 1.8;
  color: #d0d0d0;
}

.privacy-content h2 {
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-content h3 {
  color: #ff8c00;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.privacy-content h4 {
  color: #ff4d4d;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.privacy-content p {
  margin-bottom: 1.25rem;
  color: #d0d0d0;
}

.privacy-content ul,
.privacy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  color: #d0d0d0;
}

.privacy-content li {
  margin-bottom: 0.75rem;
}

.privacy-content hr {
  margin: 3rem 0;
  border: none;
  border-top: 2px solid rgba(255, 77, 77, 0.3);
}

.privacy-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 77, 77, 0.3);
}

.back-link {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.back-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4d4d;
  transition: width 0.3s;
}

.back-link:hover {
  color: #ff4d4d;
}

.back-link:hover::after {
  width: 100%;
}
.garmin-benefits {
  width: 100%;
  padding: 2rem;
  background: #0a0e1a;
  min-height: 100vh;
}

.benefits-container {
  display: flex;
  justify-content: center;
}

.benefits-card {
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  max-width: 900px;
  width: 100%;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.benefits-card h1 {
  color: #ffffff;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.benefits-content {
  line-height: 1.8;
  color: #d0d0d0;
}

.benefits-content .intro {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 77, 77, 0.1);
  border-left: 4px solid #ff4d4d;
  border-radius: 8px;
}

.benefits-content h2 {
  color: #ff4d4d;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.benefits-content h3 {
  color: #ff8c00;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.benefits-content p {
  margin-bottom: 1.25rem;
  color: #d0d0d0;
}

.benefits-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  color: #d0d0d0;
}

.benefits-content li {
  margin-bottom: 0.75rem;
}

.benefits-content hr {
  margin: 3rem 0;
  border: none;
  border-top: 2px solid rgba(255, 77, 77, 0.3);
}

.cta-section {
  background: rgba(255, 77, 77, 0.1);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.3);
  margin-top: 2rem;
}

.cta-section h3 {
  color: #ff4d4d;
  margin-top: 0;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #ffffff;
  font-size: 1.05rem;
}

.benefits-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 77, 77, 0.3);
}

.back-link {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.back-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4d4d;
  transition: width 0.3s;
}

.back-link:hover {
  color: #ff4d4d;
}

.back-link:hover::after {
  width: 100%;
}
.how-it-works {
  width: 100%;
  padding: 2rem;
  background: #0a0e1a;
  min-height: 100vh;
}

.how-it-works-container {
  display: flex;
  justify-content: center;
}

.how-it-works-card {
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 77, 77, 0.1);
  max-width: 900px;
  width: 100%;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.how-it-works-card h1 {
  color: #ffffff;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.how-it-works-content {
  line-height: 1.8;
  color: #d0d0d0;
}

.how-it-works-content .intro {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 77, 77, 0.1);
  border-left: 4px solid #ff4d4d;
  border-radius: 8px;
}

.how-it-works-content h2 {
  color: #ff4d4d;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.how-it-works-content h3 {
  color: #ff8c00;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.how-it-works-content p {
  margin-bottom: 1.25rem;
  color: #d0d0d0;
}

.how-it-works-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  color: #d0d0d0;
}

.how-it-works-content li {
  margin-bottom: 0.75rem;
}

.how-it-works-content hr {
  margin: 3rem 0;
  border: none;
  border-top: 2px solid rgba(255, 77, 77, 0.3);
}

.ai-sources-note {
  background: rgba(255, 140, 0, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.3);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.ai-sources-note p {
  margin-bottom: 0.75rem;
}

.ai-sources-note p:last-child {
  margin-bottom: 0;
}

.ai-sources-note strong {
  color: #ff8c00;
  font-size: 1.1rem;
}

.cta-section {
  background: rgba(255, 77, 77, 0.1);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.3);
  margin-top: 2rem;
}

.cta-section h3 {
  color: #ff4d4d;
  margin-top: 0;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #ffffff;
  font-size: 1.05rem;
}

.how-it-works-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 77, 77, 0.3);
}

.back-link {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.back-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4d4d;
  transition: width 0.3s;
}

.back-link:hover {
  color: #ff4d4d;
}

.back-link:hover::after {
  width: 100%;
}
.daily-summary {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.daily-summary-header {
  position: relative;
  margin-bottom: 1.5rem;
  padding-right: 1.75rem;
}

.daily-summary-header-clickable {
  cursor: pointer;
  user-select: none;
}

.daily-summary-header-clickable:hover .daily-summary-title {
  color: #ffa533;
}

.daily-summary-title {
  color: #ff8c00;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.daily-summary-chevron {
  font-size: 0.75rem;
  opacity: 0.9;
}

.daily-summary-chevron-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
}

.daily-summary-collapsed {
  padding: 0.75rem 1rem !important;
  margin-bottom: 1rem;
}

.daily-summary-collapsed-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.daily-summary-collapsed-content .daily-summary-chevron-right {
  position: static;
  transform: none;
  margin-left: auto;
  flex-shrink: 0;
}

.daily-summary-collapsed-content[role="button"] {
  cursor: pointer;
  user-select: none;
}

.daily-summary-collapsed-content[role="button"]:hover {
  color: #ffa533;
}

.daily-summary-collapsed-content[role="button"]:hover .daily-summary-collapsed-title {
  color: #ffa533;
}

.daily-summary-collapsed-chevron {
  color: #ff8c00;
  font-size: 0.7rem;
}

.daily-summary-collapsed-title {
  color: #ff8c00;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.daily-summary-collapsed-values {
  color: #e0e0e0;
  font-size: 0.85rem;
}

.daily-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.daily-summary-item-calories {
  grid-column: 1 / -1;
}

.daily-summary-item-other {
  min-width: 0;
}

.daily-summary-item {
  padding: 1rem;
  background: rgba(20, 25, 35, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.daily-summary-label {
  color: #ff8c00;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.daily-summary-value {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.daily-summary-goal {
  color: #b0b0b0;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.daily-summary-progress {
  margin-top: 0.75rem;
}

.daily-summary-progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 77, 77, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.daily-summary-progress-bar {
  height: 100%;
  transition: width 0.3s, background-color 0.3s;
  border-radius: 4px;
}

.daily-summary-progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 768px) {
  .daily-summary {
    padding: 1.5rem;
  }

  .daily-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
  }

  .daily-summary-item-calories {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .daily-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .daily-summary-item-calories {
    grid-column: 1 / -1;
  }

  .daily-summary-item-other {
    min-width: 0;
  }
}
.time-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.time-input-label {
  display: block;
  font-weight: 600;
  color: rgba(255, 140, 0, 0.95);
  font-size: 0.9rem;
}

.time-input-fields {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.time-input-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.time-input-number {
  width: 4rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.time-input-unit {
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
}
/* QuickAddForm uses existing .form-group and .textarea-input styles */
/* Only specific adjustments if needed */

.quick-add-form {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.quick-add-form-header {
  position: relative;
  margin-bottom: 0;
}

.quick-add-form-title {
  color: #ff8c00;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-add-form-content {
  margin-top: 1.5rem;
}

.expand-indicator {
  position: absolute;
  right: 0;
  top: 0;
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  user-select: none;
}

.quick-add-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quick-add-form-weight-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.quick-add-form-weight-row .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quick-add-form-weight-row .form-group label {
  margin-bottom: 1rem;
  min-height: 3rem;
  display: flex;
  align-items: flex-start;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
  .quick-add-form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
  .quick-add-form {
    padding: 1.5rem;
  }
  
  .quick-add-form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .quick-add-form-weight-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Very small mobile: still 2 columns but smaller gap */
@media (max-width: 480px) {
  .quick-add-form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .quick-add-form-weight-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}
.image-upload {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.image-upload-header {
  position: relative;
  margin-bottom: 0;
}

.image-upload-title {
  color: #ff8c00;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.image-upload-content {
  margin-top: 1.5rem;
}

.expand-indicator {
  position: absolute;
  right: 0;
  top: 0;
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  user-select: none;
}

.image-upload-dropzone {
  border: 2px dashed rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(20, 25, 35, 0.4);
}

.image-upload-dropzone:hover,
.image-upload-dropzone.dragging {
  border-color: #ff4d4d;
  background: rgba(20, 25, 35, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.1);
}

.image-upload-dropzone-content {
  color: #b0b0b0;
  font-size: 1rem;
}

.image-upload-preview {
  position: relative;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 77, 77, 0.3);
}

.image-upload-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.image-upload-analyzing {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
}

.image-upload-result {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .image-upload {
    padding: 1.5rem;
  }

  .image-upload-dropzone {
    padding: 2rem;
  }

  /* Make buttons full width on mobile */
  .image-upload-buttons {
    flex-direction: column !important;
  }

  .image-upload-buttons > button {
    width: 100% !important;
  }
}
/* Match ImageUpload / QuickAddForm: same container and header style */
.supplements-checklist {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.supplements-checklist-header {
  position: relative;
  margin-bottom: 0;
  cursor: pointer;
}

.supplements-checklist-title {
  margin: 0;
  color: #ff8c00;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.supplements-checklist-expand {
  position: absolute;
  right: 0;
  top: 0;
  color: #ff8c00;
  font-size: 1.2rem;
  font-weight: bold;
  user-select: none;
}

.supplements-checklist-optouts-preview {
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #b0b0b0;
  cursor: pointer;
  border-radius: 8px;
}

.supplements-checklist-optouts-preview:hover {
  color: #d0d0d0;
  background: rgba(255, 140, 0, 0.08);
}

.supplements-checklist-content {
  margin-top: 1.5rem;
}

.supplements-checklist-optouts {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(20, 25, 35, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.supplements-checklist-optouts-title {
  margin: 0 0 0.35rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ff8c00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.supplements-checklist-optouts-hint {
  margin: 0 0 0.75rem 0;
  font-size: 0.85rem;
  color: #b0b0b0;
}

.supplements-checklist-optouts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.supplements-checklist-optouts-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 77, 77, 0.15);
}

.supplements-checklist-optouts-item:last-child {
  border-bottom: none;
}

.supplements-checklist-optouts-name {
  flex: 1;
  min-width: 120px;
  color: #e0e0e0;
  font-size: 0.95rem;
}

.supplements-checklist-optouts-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.supplements-checklist-optouts-add-back,
.supplements-checklist-optouts-forget {
  flex-shrink: 0;
  padding: 0.4rem 0.9rem !important;
  font-size: 0.9rem !important;
}

.supplements-checklist-optouts-forget {
  color: #b0b0b0;
  border-color: rgba(255, 255, 255, 0.2);
}

.supplements-checklist-optouts-forget:hover {
  color: #e0e0e0;
  border-color: rgba(255, 77, 77, 0.4);
}

.supplements-checklist-loading,
.supplements-checklist-empty {
  color: #b0b0b0;
  margin: 1rem 0;
}

.supplements-checklist-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.supplements-checklist-item {
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(20, 25, 35, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.2);
  transition: all 0.3s;
}

.supplements-checklist-item:hover {
  border-color: rgba(255, 77, 77, 0.4);
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.1);
}

.supplements-checklist-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.supplements-checklist-taken {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  cursor: pointer;
}

.supplements-checklist-taken input[type="checkbox"] {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.supplements-checklist-taken input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

/* Custom box: empty outline, fills with primary gradient when checked */
.supplements-checklist-taken-box {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid rgba(255, 140, 0, 0.5);
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

/* Check: faint outline when unchecked, solid white when checked */
.supplements-checklist-taken-box::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 18px;
  border: solid rgba(255, 140, 0, 0.22);
  border-width: 0 0 2px 2px;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: border-color 0.2s ease, border-width 0.2s ease;
}

.supplements-checklist-taken input[type="checkbox"]:checked ~ .supplements-checklist-taken-box {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(255, 77, 77, 0.35);
}

.supplements-checklist-taken input[type="checkbox"]:checked ~ .supplements-checklist-taken-box::after {
  border-color: #ffffff;
  border-width: 0 0 3px 3px;
}

.supplements-checklist-taken:hover .supplements-checklist-taken-box {
  border-color: rgba(255, 140, 0, 0.85);
}

.supplements-checklist-taken input[type="checkbox"]:checked:hover ~ .supplements-checklist-taken-box {
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.5);
}

/* Time input in checklist row uses shared TimeInput (h + min) */
.supplements-checklist-row .supplements-checklist-time.time-input-group {
  flex-shrink: 0;
}

/* Time as plain string when not in edit (info) mode */
.supplements-checklist-time-display {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: #e0e0e0;
  min-width: 3.5ch;
}

.supplements-checklist-name {
  flex: 1;
  min-width: 120px;
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.supplements-checklist-amount-row {
  margin-top: 0.35rem;
  padding-left: 0;
  width: 100%;
}

.supplements-checklist-amount {
  font-size: 0.9rem;
  color: #b0b0b0;
  display: block;
}

.supplements-checklist-info-btn,
.supplements-checklist-delete-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.supplements-checklist-info-btn {
  border: 2px solid rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.15);
  color: #ff8c00;
}

.supplements-checklist-info-btn:hover {
  background: rgba(255, 140, 0, 0.25);
  border-color: #ff8c00;
}

.supplements-checklist-delete-btn {
  border: 2px solid rgba(220, 53, 69, 0.5);
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.supplements-checklist-delete-btn:hover {
  background: rgba(220, 53, 69, 0.25);
  border-color: #dc3545;
}

/* Info panel – form-group + textarea-input (match app forms) */
.supplements-checklist-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 77, 77, 0.2);
}

.supplements-checklist-info .form-group {
  margin-bottom: 1rem;
}

.supplements-checklist-info .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.supplements-checklist-info .textarea-input {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 4rem;
  background: rgba(10, 14, 26, 0.6);
  color: #ffffff;
  line-height: 1.5;
  box-sizing: border-box;
}

.supplements-checklist-info .textarea-input:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2);
  background: rgba(10, 14, 26, 0.8);
}

.supplements-checklist-info .supplements-macros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.supplements-checklist-info .supplements-macros-grid .form-group {
  margin-bottom: 0;
}

.supplements-checklist-info .supplements-macros-grid .textarea-input {
  min-height: auto;
}

.supplements-checklist-info .btn {
  margin-top: 0.5rem;
}

/* Add form – same app form style */
.supplements-checklist-add-form {
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(20, 25, 35, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.2);
}

.supplements-checklist-add-form h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #ff8c00;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.supplements-checklist-add-form .form-group {
  margin-bottom: 1rem;
}

.supplements-checklist-add-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.supplements-checklist-add-form .textarea-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(255, 77, 77, 0.3);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  background: rgba(10, 14, 26, 0.6);
  color: #ffffff;
  box-sizing: border-box;
}

.supplements-checklist-add-form .textarea-input:focus {
  outline: none;
  border-color: #ff4d4d;
  background: rgba(10, 14, 26, 0.8);
}

.supplements-checklist-add-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.supplements-checklist-add-row .form-group {
  flex: 1;
  min-width: 140px;
  margin-bottom: 0;
}

.supplements-checklist-add-form .supplements-macros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.supplements-checklist-add-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.supplements-checklist-add-btn {
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.2);
  color: #ff8c00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
}

.supplements-checklist-add-btn:hover {
  background: rgba(255, 140, 0, 0.3);
  border-color: #ff8c00;
}

/* Buttons (match app when used inside this component) */
.supplements-checklist .btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.supplements-checklist .btn-primary {
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 77, 77, 0.3);
}

.supplements-checklist .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff3333 0%, #ff7700 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 77, 77, 0.5);
}

.supplements-checklist .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.supplements-checklist .btn-secondary {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border: 2px solid #ff4d4d;
}

.supplements-checklist .btn-secondary:hover {
  background: rgba(255, 77, 77, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.3);
}

@media (max-width: 768px) {
  .supplements-checklist {
    padding: 1.5rem;
  }

  .supplements-checklist-item {
    padding: 0.75rem 1rem;
  }

  .supplements-checklist-row {
    gap: 0.5rem;
  }

}

/* Delete confirm modal (centered overlay, same as EntriesList / TrainingPlanForm) */
.delete-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.delete-confirm-dialog {
  position: relative;
  background: rgba(20, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: min(500px, calc(100vw - 2rem));
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid rgba(220, 53, 69, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(220, 53, 69, 0.2);
  z-index: 1001;
  margin: auto;
}

.delete-confirm-dialog h3 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.delete-confirm-dialog p {
  color: #b0b0b0;
  margin: 0 0 2rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.delete-confirm-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
  padding-right: 0.5rem;
}

/* Button base in overlay (portal is outside .supplements-checklist) */
.delete-confirm-overlay .btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  text-transform: none;
}

.delete-confirm-overlay .btn-secondary {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border: 2px solid #ff4d4d;
}

.delete-confirm-overlay .btn-secondary:hover:not(:disabled) {
  background: rgba(255, 77, 77, 0.2);
}

.delete-confirm-buttons .btn {
  text-transform: none;
  padding: 0.875rem 1.75rem;
}

.delete-confirm-buttons .btn.btn-primary {
  min-width: 120px;
}

@media (max-width: 768px) {
  .delete-confirm-dialog {
    padding: 1.5rem;
  }

  .delete-confirm-dialog h3 {
    font-size: 1.25rem;
  }

  .delete-confirm-dialog p {
    font-size: 0.9rem;
  }

  .delete-confirm-buttons {
    flex-direction: column-reverse;
  }

  .delete-confirm-buttons .btn,
  .delete-confirm-buttons .btn.btn-primary,
  .delete-confirm-buttons button {
    width: 100%;
  }
}
.saved-products {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.saved-products-header {
  position: relative;
  margin-bottom: 0;
}

.saved-products-header h3 {
  color: #ff8c00;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.saved-products-content {
  margin-top: 1.5rem;
}

.saved-products-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.saved-product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(20, 25, 35, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 77, 77, 0.2);
  transition: all 0.3s;
}

.saved-product-item:hover {
  border-color: rgba(255, 77, 77, 0.4);
  background: rgba(20, 25, 35, 0.8);
}

.saved-product-favorite {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #888;
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1;
}

.saved-product-favorite:hover:not(:disabled) {
  color: #ff8c00;
}

.saved-product-favorite.is-favorite {
  color: #ff8c00;
}

.saved-product-favorite.is-favorite:hover:not(:disabled) {
  color: #ffb347;
}

.saved-product-favorite:disabled {
  cursor: wait;
  opacity: 0.7;
}

.saved-product-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
}

.saved-product-form {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(20, 25, 35, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 140, 0, 0.3);
}

.saved-product-form h4 {
  color: #ff8c00;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .saved-products {
    padding: 1.5rem;
  }

  .saved-product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.entries-list {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.entries-list-title {
  color: #ff8c00;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.entries-list-section {
  margin-bottom: 1.5rem;
}

.entries-list-section-title {
  color: rgba(255, 140, 0, 0.9);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.entries-list-supplements {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.entry-item-supplement {
  border-color: rgba(255, 140, 0, 0.35);
}

.entries-list-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.entry-item {
  padding: 1.5rem;
  background: rgba(20, 25, 35, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.2);
  transition: all 0.3s;
}

.entry-item:hover {
  border-color: rgba(255, 77, 77, 0.4);
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.1);
}

.entry-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 77, 77, 0.2);
}

.entry-item-time {
  color: #ff8c00;
  font-weight: 700;
  font-size: 1.1rem;
}

.entry-item-product {
  color: #b0b0b0;
  font-size: 0.9rem;
  font-style: italic;
}

.entry-item-nutrients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
  color: #d0d0d0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .entries-list {
    padding: 1.5rem;
  }

  .entry-item {
    padding: 1rem;
  }

  .entry-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .entry-item-nutrients {
    grid-template-columns: 1fr;
  }
}
/* Nutrients component uses existing .card and .form-container styles */
/* Only specific layout adjustments if needed */

.btn-garmin {
  background: linear-gradient(135deg, #6DCFF6 0%, #5AB8D9 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(109, 207, 246, 0.4);
  border: none;
}

.btn-garmin:hover:not(:disabled) {
  background: linear-gradient(135deg, #5AB8D9 0%, #4AA3C2 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(109, 207, 246, 0.6);
}

.btn-garmin:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.nutrients-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 768px) {
  /* Make goals buttons full width on mobile */
  .nutrients-goals-buttons {
    flex-direction: column !important;
  }

  .nutrients-goals-buttons > button {
    width: 100% !important;
  }
}
.shared-view {
  min-height: 100vh;
  background: linear-gradient(160deg, #0a0e1a 0%, #1a1f2e 50%, #0d1117 100%);
  color: #e0e0e0;
  padding: 2rem 1rem 3rem;
}

.shared-view-loading,
.shared-view-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.shared-view-error p {
  color: #ff6b6b;
}

.shared-view-header {
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.shared-view-label {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.05em;
}

.shared-view-body {
  max-width: 720px;
  margin: 0 auto;
}

.shared-snippet-card {
  background: rgba(20, 25, 35, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 77, 77, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.shared-evaluation-wrap {
  padding: 2rem;
}

.shared-evaluation-day {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shared-supplements-wrap {
  padding: 2rem;
}

.shared-view-unknown {
  color: #888;
  text-align: center;
  padding: 2rem;
}
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0e1a;
}

.main-content {
  flex: 1;
  padding: 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .main-content {
    width: 100%;
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0a0e1a;
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 77, 77, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 140, 0, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 77, 77, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(255, 140, 0, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  color: #e8e8e8;
  line-height: 1.6;
}

code {
  font-family: 'Courier New', monospace;
}
