/* Cycles specific styles */
.cycles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 180px;
}

.cycle-card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  transition: transform 0.2s;
}

.cycle-card:hover {
  transform: translateY(-2px);
}

.cycle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cycle-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.score-state {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.score-state.scored {
  background-color: var(--color-green);
  color: white;
}

.cycle-dates {
  margin-bottom: 1rem;
}

.cycle-dates p {
  margin: 5px 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.cycle-scores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background: var(--color-bg-light);
  border-radius: 12px;
}

.score-item .label {
  font-size: 0.75rem;
  color: var(--color-text-label);
  text-transform: uppercase;
  font-weight: 500;
}

.score-item .value {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.25rem;
  color: var(--color-text-main);
}

.no-data {
  text-align: center;
  padding: 2.5rem;
  background: var(--color-bg-light);
  border-radius: 16px;
  margin-top: 1.25rem;
}

.charts-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.charts-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

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

.strain-chart-container {
  max-width: 1200px;
  width: 100%;
}

.small-chart-container {
  max-width: 450px;
  width: 100%;
}

/* Cycle details show view */
.cycle-details {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.25rem;
}

@media (max-width: 800px) {
  .charts-row {
    flex-direction: column;
    align-items: center;
  }
  
  .small-chart-container {
    max-width: 100%;
  }
  
  .cycles-grid {
    grid-template-columns: 1fr;
  }
} 
:root {
  /* Color Palette */
  --color-bg-light: #EAF3F8;
  --color-white: #FFFFFF;
  --color-blue: #007AFF;
  --color-blue-light: #368BFF;
  --color-green: #27C498;
  --color-yellow: #FFCE52;
  --color-red: #FF6B6B;
  --color-text-main: #2C3E50;
  --color-text-secondary: #6B7C93;
  --color-text-label: #A0AEC0;
  --color-border-light: #E2E8F0;
  --color-insight-gradient-start: #E3F1FF;
  --color-insight-gradient-end: #B6E1FF;
  --color-blue-chart: #007AFF;
  --color-green-chart: #27C498;
  --color-yellow-chart: #FFCE52;
  --color-red-chart: #FF6B6B;
  --color-hr-rest-line: #4A90E2;
}

/* Typography */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p, span {
  font-size: 1rem;
  line-height: 1.5;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-label);
  text-transform: uppercase;
}

.status {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 2px 8px;
  text-transform: uppercase;
}

/* Layout */
.container {
  padding: 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

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

.card {
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Buttons */
.button-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button-primary:hover {
  background-color: var(--color-blue-light);
}

.button-secondary {
  background-color: var(--color-white);
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button-secondary:hover {
  background-color: #F0F6FF;
}

/* Status Tags */
.status-good {
  background-color: var(--color-green);
  color: white;
}

.status-improve {
  background-color: var(--color-yellow);
  color: white;
}

.status-attention {
  background-color: var(--color-red);
  color: white;
}

/* AI-powered Insights Section */
.insights {
  background: linear-gradient(135deg, var(--color-insight-gradient-start), var(--color-insight-gradient-end));
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.insight-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.insight-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Charts (structure only) */
.chart-bar {
  border-radius: 8px;
  width: 100%;
  height: 300px;
}

.bar-aerobic {
  background-color: var(--color-blue-chart);
}

.bar-strength {
  background-color: var(--color-green-chart);
}

.bar-other {
  background-color: var(--color-yellow-chart);
}

.line-hrhigh {
  stroke: var(--color-red-chart);
  stroke-width: 2;
}

.line-hrrest {
  stroke: var(--color-hr-rest-line);
  stroke-width: 2;
}

/* Extras */
.avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.search-bar {
  border-radius: 12px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border-light);
  background-color: #F7FAFC;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .section {
    grid-template-columns: 1fr;
  }
}

/* Recovery Card Specific Styles */
.recovery-card-link {
  text-decoration: none;
  color: inherit;
}

.recovery-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.recovery-icon {
  color: var(--color-blue);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.875rem;
}

.metric-row .label {
  color: var(--color-text-label);
}

.recovery-status {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-light);
}

/* Card Link */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 1.25rem;
}

/* Card Content */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Metric Section */
.metric-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.metric-row:last-child {
  border-bottom: none;
}

/* Chart Section */
.chart-section {
  margin-top: 1rem;
}

/* Metric Bubbles */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.metric-bubble {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.metric-bubble:hover {
  transform: translateY(-2px);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--color-text-label);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.metric-duration {
  border: 2px solid var(--color-blue);
}

.metric-strain {
  border: 2px solid var(--color-green);
}

.metric-avg-hr {
  border: 2px solid var(--color-yellow);
}

.metric-max-hr {
  border: 2px solid var(--color-red);
}

.metric-calories {
  border: 2px solid var(--color-blue-light);
}

.workout-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.workout-stats {
  width: 100%;
}

.heart-rate-zones {
  width: 100%;
}

.chart-container {
  width: 100%;
  height: 300px;
  margin-top: 1rem;
}

/* Card Hover Effects */
.card-hover-effect {
  transition: all 0.3s ease;
}

.card-hover-effect:hover {
  background-color: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
} 
.page-header {
  width: 100%;
  background-color: var(--color-white);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.header-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-left {
  flex: 0 0 auto;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-center h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.header-right {
  flex: 0 0 auto;
}

.btn-logout {
  background-color: transparent;
  border: 1px solid var(--color-border-light);
  color: var(--color-text-main);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-text-secondary);
}

.user-menu {
  position: relative;
  display: inline-block;
}

.user-menu-button {
  background: none;
  border: none;
  color: var(--color-text-main);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-menu-button:hover {
  color: var(--color-blue);
}

.user-menu-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  display: none;
}

.user-menu:hover .user-menu-dropdown {
  display: block;
}

.user-menu-dropdown button {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  color: var(--color-text-main);
  cursor: pointer;
  font-size: 0.9rem;
}

.user-menu-dropdown button:hover {
  background-color: var(--color-bg-light);
  color: var(--color-blue);
}

/* Burger Menu Styles */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text-main);
  margin: 5px 0;
  transition: all 0.3s ease;
}



.user-menu-button .fa-bars{
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {

  .page-header{
    padding: 0.5rem 0.5rem;
  }
  .burger-menu {
    display: block;
  }

  .user-menu-button .fa-bars{
    display: block;
  }
  .header-content {
    padding-right: 1rem;
  }
  .header-content .header-left{
    font-size: .7rem;
  }
  
  .header-content .header-left .btn{
    padding: 0.4rem .7rem;
  }
  
  .header-content .header-left{
    font-size: .7rem;
  }

  .header-content .header-left.home-header-left{
    display: none;
  }

  .user-menu {
    width: 100%;
  }

  .user-menu-button {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

  .user-menu-button span,
  .user-menu-button .fa-chevron-down{
    display: none;
  }

  .user-menu-dropdown {
    position: absolute;
    width: 100%;
  }

  .header-center {
    position: static;
    transform: none;
    text-align: center;
    margin: 0 auto;

  }

  .header-center h1 {
    font-size: 1rem;
  }
} 
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

h1 {
  color: #333;
  margin-bottom: 2rem;
}

.user-info {
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}


.user-info h2{
  font-size: 4rem;
  margin: 0px;
  line-height: 4rem;
}

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

.login-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.login-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #0056b3;
}

.demo-login-button {
  background-color: #28a745;
}

.demo-login-button:hover {
  background-color: #218838;
}

/* API Section Styles */
.api-section {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 1rem 2rem;
  margin: 2rem 0;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.api-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
  user-select: none;
}

.api-header:hover {
  opacity: 0.8;
}

.api-section h3 {
  color: #333;
  margin: 0;
  font-size: 1.5rem;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #007bff;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.toggle-btn:hover {
  transform: scale(1.1);
}

.toggle-btn.expanded {
  transform: rotate(180deg);
}

.api-content {
  overflow: hidden;
  transition: all 0.3s ease;
  padding-top: 1rem;
}

.api-description {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ChatGPT Setup Guide */
.chatgpt-setup-guide {
  background-color: #e7f3ff;
  border-left: 4px solid #007bff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.chatgpt-setup-guide h4 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.setup-steps {
  margin: 0;
  padding-left: 1.5rem;
  color: #333;
}

.setup-steps li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.setup-steps li:last-child {
  margin-bottom: 0;
}

.setup-steps strong {
  color: #007bff;
  display: block;
  margin-bottom: 0.25rem;
}

.setup-steps p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}

.setup-steps a {
  color: #007bff;
  text-decoration: underline;
}

.setup-steps a:hover {
  color: #0056b3;
}

/* Integration Note */
.integration-note {
  background-color: #d1ecf1;
  border-left: 4px solid #0c5460;
  color: #0c5460;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Highlighted ChatGPT URL */
.highlight-chatgpt {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.highlight-chatgpt label {
  color: #856404;
  font-size: 1rem;
  font-weight: 700;
}

/* Advanced Endpoints Details */
.api-endpoints-details {
  margin-top: 1.5rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.api-endpoints-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #666;
  padding: 0.5rem;
  user-select: none;
}

.api-endpoints-details summary:hover {
  color: #007bff;
}

.api-endpoints-details[open] summary {
  margin-bottom: 1rem;
  color: #007bff;
}

.api-endpoints-details .api-description {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 1rem;
}

.api-urls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.api-url-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.api-url-item label {
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}

.url-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.api-url-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
  background-color: white;
  color: #333;
  cursor: text;
}

.api-url-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.copy-btn {
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.copy-btn.copied {
  background-color: #28a745;
}

@media (max-width: 768px) {
  .user-info{
    padding: 2rem 0px;
  }

  .user-info h2{
    font-size: 2rem;
    line-height: 2rem;
  }

  .api-section {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .chatgpt-setup-guide {
    padding: 1rem;
  }

  .chatgpt-setup-guide h4 {
    font-size: 1rem;
  }

  .setup-steps {
    padding-left: 1rem;
    font-size: 0.9rem;
  }

  .setup-steps li {
    margin-bottom: 0.75rem;
  }

  .highlight-chatgpt {
    padding: 0.75rem;
  }

  .highlight-chatgpt label {
    font-size: 0.9rem;
  }

  .api-url-input {
    font-size: 0.75rem;
    padding: 0.6rem;
  }

  .copy-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .url-input-group {
    flex-direction: column;
  }

  .copy-btn {
    width: 100%;
  }
}
/* line 1, app/assets/stylesheets/recoveries.scss */
.recoveries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 180px 0 20px;
}

/* line 8, app/assets/stylesheets/recoveries.scss */
.recovery-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-in-out;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* line 19, app/assets/stylesheets/recoveries.scss */
.recovery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background-color: var(--color-white);
}

/* line 24, app/assets/stylesheets/recoveries.scss */
.recovery-card:hover::after {
  opacity: 1;
}

/* line 29, app/assets/stylesheets/recoveries.scss */
.recovery-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

/* line 42, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

/* line 48, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-header .recovery-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-blue);
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
}

/* line 60, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-header h3 {
  margin: 0;
  flex: 1;
}

/* line 66, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats {
  flex: 1;
  padding: 15px;
  border-radius: 12px;
  margin: 10px 0;
}

/* line 72, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

/* line 78, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

/* line 89, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble:hover {
  transform: translateY(-2px);
}

/* line 93, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble .metric-label {
  font-size: 0.75rem;
  color: var(--color-text-label);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* line 100, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble .metric-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* line 106, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble.metric-score {
  border: 2px solid var(--color-blue);
}

/* line 110, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble.metric-hr {
  border: 2px solid var(--color-red);
}

/* line 114, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble.metric-hrv {
  border: 2px solid var(--color-green);
}

/* line 118, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble.metric-spo2 {
  border: 2px solid var(--color-blue-light);
}

/* line 122, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-stats .metric-bubble.metric-temp {
  border: 2px solid var(--color-yellow);
}

/* line 128, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-status {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

/* line 135, app/assets/stylesheets/recoveries.scss */
.recovery-card .status-indicator {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* line 143, app/assets/stylesheets/recoveries.scss */
.recovery-card .status-indicator.good {
  background-color: var(--color-green);
  color: white;
}

/* line 148, app/assets/stylesheets/recoveries.scss */
.recovery-card .status-indicator.fair {
  background-color: var(--color-yellow);
  color: white;
}

/* line 153, app/assets/stylesheets/recoveries.scss */
.recovery-card .status-indicator.poor {
  background-color: var(--color-red);
  color: white;
}

/* line 159, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* line 165, app/assets/stylesheets/recoveries.scss */
.recovery-card .recovery-card-link:hover .recovery-card {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* line 171, app/assets/stylesheets/recoveries.scss */
.recovery-detail {
  max-width: 800px;
  margin: 0 auto;
}

/* line 175, app/assets/stylesheets/recoveries.scss */
.recovery-detail .recovery-info {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 20px 0;
}

/* line 183, app/assets/stylesheets/recoveries.scss */
.recovery-detail .recovery-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* line 190, app/assets/stylesheets/recoveries.scss */
.recovery-detail .metric-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

/* line 196, app/assets/stylesheets/recoveries.scss */
.recovery-detail .metric-card h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #6c757d;
}

/* line 202, app/assets/stylesheets/recoveries.scss */
.recovery-detail .metric-card .metric-value {
  font-size: 24px;
  font-weight: bold;
  color: #007AFF;
}

/* line 207, app/assets/stylesheets/recoveries.scss */
.recovery-detail .metric-card .metric-value.good {
  color: #27c498;
}

/* line 211, app/assets/stylesheets/recoveries.scss */
.recovery-detail .metric-card .metric-value.fair {
  color: #ffce52;
}

/* line 215, app/assets/stylesheets/recoveries.scss */
.recovery-detail .metric-card .metric-value.poor {
  color: #ff6b6b;
}

/* line 221, app/assets/stylesheets/recoveries.scss */
.recovery-detail .back-link {
  margin-top: 30px;
  text-align: center;
}

/* line 227, app/assets/stylesheets/recoveries.scss */
.no-records {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  /* line 235, app/assets/stylesheets/recoveries.scss */
  .recoveries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  /* line 241, app/assets/stylesheets/recoveries.scss */
  .recoveries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* line 247, app/assets/stylesheets/recoveries.scss */
  .recoveries-grid {
    grid-template-columns: 1fr;
  }
}
:root {
  /* Color Palette */
  --color-bg-light: #EAF3F8;
  --color-white: #FFFFFF;
  --color-blue: #007AFF;
  --color-blue-light: #368BFF;
  --color-green: #27C498;
  --color-yellow: #FFCE52;
  --color-red: #FF6B6B;
  --color-text-main: #2C3E50;
  --color-text-secondary: #6B7C93;
  --color-text-label: #A0AEC0;
  --color-border-light: #E2E8F0;
  --color-insight-gradient-start: #E3F1FF;
  --color-insight-gradient-end: #B6E1FF;
  --color-blue-chart: #007AFF;
  --color-green-chart: #27C498;
  --color-yellow-chart: #FFCE52;
  --color-red-chart: #FF6B6B;
  --color-hr-rest-line: #4A90E2;
}

/* Typography */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p, span {
  font-size: 1rem;
  line-height: 1.5;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-label);
  text-transform: uppercase;
}

.status {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 2px 8px;
  text-transform: uppercase;
}

/* Layout */
.container {
  padding: 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

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

/* Workout Specific Styles */
.workouts-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.workout-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease-in-out;
  width: 100%;
  box-sizing: border-box;
  composes: card-hover-effect;
}

.workout-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.workout-card h3 {
  margin-top: 0;
  color: var(--color-text-main);
  border-bottom: 2px solid var(--color-border-light);
  padding-bottom: 10px;
}

.workout-card h4 {
  color: var(--color-text-secondary);
  margin: 15px 0 10px;
  font-size: 1.1em;
}

.workout-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.workout-stats {
  width: 100%;
}

.heart-rate-zones {
  width: 100%;
}

.chart-container {
  width: 100%;
  height: 300px;
  margin-top: 1rem;
}

/* Metric Bubbles */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.metric-bubble {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.metric-bubble:hover {
  transform: translateY(-2px);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--color-text-label);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.metric-duration {
  border: 2px solid var(--color-blue);
}

.metric-strain {
  border: 2px solid var(--color-green);
}

.metric-avg-hr {
  border: 2px solid var(--color-yellow);
}

.metric-max-hr {
  border: 2px solid var(--color-red);
}

.metric-calories {
  border: 2px solid var(--color-blue-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--color-blue-light);
}

/* Status Tags */
.status-good {
  background-color: var(--color-green);
  color: white;
}

.status-improve {
  background-color: var(--color-yellow);
  color: white;
}

.status-attention {
  background-color: var(--color-red);
  color: white;
}

/* AI-powered Insights Section */
.insights {
  background: linear-gradient(135deg, var(--color-insight-gradient-start), var(--color-insight-gradient-end));
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.insight-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.insight-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Charts */
.chart-bar {
  border-radius: 8px;
  width: 100%;
  height: 300px;
}

.bar-aerobic {
  background-color: var(--color-blue-chart);
}

.bar-strength {
  background-color: var(--color-green-chart);
}

.bar-other {
  background-color: var(--color-yellow-chart);
}

.line-hrhigh {
  stroke: var(--color-red-chart);
  stroke-width: 2;
}

.line-hrrest {
  stroke: var(--color-hr-rest-line);
  stroke-width: 2;
}

/* Alerts */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 12px;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Navigation */
.navigation-links {
  margin-top: 30px;
  text-align: center;
}

/* Extras */
.avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.search-bar {
  border-radius: 12px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border-light);
  background-color: #F7FAFC;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .section, .workouts-grid {
    grid-template-columns: 1fr;
  }

  .workout-details {
    flex-direction: column;
    padding: 20px 0px !important;
  }
}

.workout-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.workout-card-link:hover .workout-card {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.workout-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.workout-header h3 {
  margin: 0;
  flex: 1;
}

.workout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #000;
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
} 
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 body{
  font-family: 'Poppins', sans-serif;
 }

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  row-gap: 0px;
  padding: 24px 0px;
}

@media (max-width: 800px) {
  .button-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
}

.action-card {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  height: 300px;
  margin: 14px 0;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.action-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 122, 255, 0.1) 100%);
}

/* Specific background images for each card */
.action-card.workouts {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), url(/assets/my-workout-f6fa6702a127f914a00b85f0ddcc80b762bba891fc2d792b1f51033140937e54.jpg) lightgray 50% / cover no-repeat;
}

.action-card.sleep {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), url(/assets/my-sleep-492c0f43899eb52ca123c35aa975f446d21022ea2dbb43f8eb0ecc6b65f8a13c.jpg) lightgray 50% / cover no-repeat;

}

.action-card.recoveries {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), url(/assets/my-recovery-53d6670b64349b855ac6c80cb6824799001b539904b42823437d2d72249018f7.jpg) lightgray 50% / cover no-repeat;

}

.action-card.cycles {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), url(/assets/my-cycles-f6f0ea96d6b6b59fe58ee4a8e8722da1c9742f692d48753edfeea9a946c29945.jpg) lightgray 50% / cover no-repeat;
}

.btn-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 3.5rem;
  text-align: left;
  color: white;
  max-width: 200px;
  line-height: 0.9em;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.header-left h2 {
  font-size: 1.2rem;
  margin: 0;
}

.header-logo {
  height: 30px;
  width: auto;
}

@media (max-width: 768px) {
.btn-card {
  font-size: 2rem;
}
}
