/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
:root {
  --color-custom1: #FB4141;
  --color-custom2: #5CB338;
  --color-custom3: #FFC145;
  --color-custom4: #5c636a;
  --color-custom5: #ede3d7;
  --color-custom6: #000;
  --color-custom7: #fff;
  --color-custom8: #ffb218;
  --color-custom9: #8d448b;
  --color-custom10: #fbccabff;
  --color-custom11: #f97316;
  --color-custom12: #fb923c;
  --color-custom13: #1f2937;
  --color-custom14: #e5e7eb;
  --color-custom15: #f8fafc;
  --color-custom16: #4b5563;
  --color-custom17: #ffc107;
  --color-custom18: #ea580c;
  --color-custom19: #fed7aa;
  --color-custom20: #fef3e2;
  --color-custom20: 0 4px 15px rgba(0, 0, 0, 0.08);
  --color-custom21: #ffeded;
  --color-custom22: #fbccab;
  --color-custom23: #FF8C00;
  --color-custom24: #FFA500;
  --color-custom25: #FFD580;
  --color-custom26: #FFF4E6;
  --color-custom27: #FFE0B2;
  --color-custom28: #4A4A4A;
  --color-custom29: #eee;
  --color-custom30: #6a82fb;
  --color-custom31: #fc5c7d;
  --color-custom32: #e3f2fd;
  --color-custom33: #bbdefb;
  --color-custom34: #90caf9;
  --color-custom35: #1976d2;
  --color-custom36: #f8f9fa;
  --color-custom37: #dee2e6;
  --color-custom38: #495057;
  --color-custom39: #667eea;
  --color-custom40: #fff3e0;
  --color-custom41: #ffe0b2;
  --color-custom42: #ffcc02;
  --color-custom43: #e9ecef;
  --color-custom44: #666;
  --color-custom45: #4CAF50;
  --color-custom46: #45a049;
  --color-custom47: #4a5568;
  --color-custom48: #ff5722;
  --color-custom49: #ccc;
  --color-custom50: #333;
  --color-custom51: #ff6b35;
  --color-custom52: #ff8c42;
  --color-custom53: #764ba2;
  --color-custom54: #ff9800;
  --color-custom55: #f57c00;
  --color-custom56: #f3f3f3;
  --color-custom57: #ffcc80;
  --color-custom58: #fdba74;
  --color-custom59: #ff7043;
  --color-custom60: #ff8a65;
  --color-custom61: #ffab40;
  --color-custom62: #d32f2f;
  --color-custom63: #2e7d32;
  --color-custom64: #1565c0;
  --color-custom65: #42a5f5;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  color: var(--color-custom13);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: linear-gradient(125deg, var(--color-custom10));
  background-size: 400% 400%;
  animation: aurora-animation 15s ease infinite;
}

@keyframes aurora-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

main {
  flex: 1;
}

.blink_me {
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

body.swal2-shown>[aria-hidden="true"] {
  transition: 0.1s filter;
  filter: blur(10px);
}

.status-danger-custom1 {
  color: var(--color-custom1);
}

.status-success-custom1 {
  color: var(--color-custom2);
}

.status-warning-custom1 {
  color: var(--color-custom3);
}

.status-secondary-custom1 {
  color: var(--color-custom4);
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(249, 115, 22, 0.3);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.loading {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--color-custom7);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar-custom1 {
  background: linear-gradient(90deg, var(--color-custom11) 0%, var(--color-custom12) 100%);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  transition: background 0.25s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0;
  margin: 0;
}

.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-header-custom1 {
  font-size: 2.0rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-custom7);
  margin: 0;
}

.nav-link-custom1 {
  margin-left: 10px;
  margin-top: 10px;
  color: var(--color-custom7) !important;
}

a:hover,
.active-custom1 {
  font-weight: 600;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-custom {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 15px 0;
  text-align: center;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 90px;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-custom13);
  font-size: clamp(2.5rem, 7vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero-title strong {
  background: linear-gradient(45deg, var(--color-custom12), var(--color-custom11), var(--color-custom17));
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-gradient-animation 4s linear infinite;
}

/* ✨ NEW: Keyframes for the title gradient */
@keyframes text-gradient-animation {
  to {
    background-position: 200% center;
  }
}

.hero-lead {
  color: var(--color-custom16);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons - รูปแบบใหม่ */
.btn-group-center {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-official {
  padding: 1rem 2.1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-official.btn-primary {
  background-color: var(--color-custom11);
  color: var(--color-custom7);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-official.btn-primary:hover {
  background-color: var(--color-custom12);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(249, 115, 22, 0.4);
}

.btn-official.btn-secondary {
  background-color: var(--color-custom7);
  color: var(--color-custom13);
  border: 1px solid var(--color-custom14);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-official.btn-secondary:hover {
  background-color: var(--color-custom15);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);
}

.fade-in-up-1 {
  animation: fade-in-up 0.6s ease-out both;
}

.fade-in-up-2 {
  animation: fade-in-up 0.6s 0.2s ease-out both;
}

.fade-in-up-3 {
  animation: fade-in-up 0.6s 0.4s ease-out both;
}

/*--------------------------------------------------------------
# Guest
--------------------------------------------------------------*/
.title-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(249, 115, 22, 0.1);
  position: relative;
  overflow: hidden;
}

.title-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(249, 115, 22, 0.05), transparent);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.main-title {
  color: var(--color-custom13);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(249, 115, 22, 0.2);
  background: linear-gradient(135deg, var(--color-custom11), var(--color-custom18));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

.form-container {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(249, 115, 22, 0.1);
  border-radius: 25px;
  padding: 40px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-custom11), var(--color-custom18), var(--color-custom11));
  background-size: 200% 100%;
  animation: slideGradient 2s ease infinite;
}

@keyframes slideGradient {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-label i {
  color: var(--color-custom18);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input,
.form-select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--color-custom14);
  border-radius: 15px;
  font-size: 1.1rem;
  font-family: 'Sarabun', sans-serif;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-custom18);
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.15),
    0 8px 25px rgba(249, 115, 22, 0.1);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 1);
}

.unit-label {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--color-custom19), var(--color-custom20));
  color: var(--color-custom18);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
  pointer-events: none;
}

.form-input:has(+ .unit-label) {
  padding-right: 80px;
}

.submit-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--color-custom11) 0%, var(--color-custom18) 100%);
  color: var(--color-custom7);
  border: none;
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Sarabun', sans-serif;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 25px rgba(249, 115, 22, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.submit-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.6s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 35px rgba(249, 115, 22, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn i {
  font-size: 1.4rem;
}

.error-message {
  color: var(--color-custom1);
  font-size: 0.9rem;
  margin-top: 8px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-group.error .error-message {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-group.error .form-input,
.form-group.error .form-select {
  border-color: var(--color-custom1);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
  animation: shake 0.5s ease-in-out;
}

.result-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  border-radius: 25px;
  box-shadow:
    0 20px 60px rgba(249, 115, 22, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(249, 115, 22, 0.2);
  position: relative;
  z-index: 10;
  animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(249, 115, 22, 0.05), transparent);
  border-radius: 25px;
  pointer-events: none;
}

/* Enhanced Header */
.result-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.result-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-custom11), var(--color-custom18));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.5));
  }

  to {
    filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.8));
  }
}

.result-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-custom11), var(--color-custom18));
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: translateX(-50%) scaleX(1);
  }

  50% {
    transform: translateX(-50%) scaleX(1.2);
  }
}

.result-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.result-info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow:
    0 10px 30px rgba(249, 115, 22, 0.2),
    0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(249, 115, 22, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
  transition: left 0.5s ease;
}

.result-info-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(249, 115, 22, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--color-custom11);
}

.result-info-card:hover::before {
  left: 100%;
}

.result-info-label {
  font-size: 0.9rem;
  color: var(--color-custom44);
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-info-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-custom11);
  background: linear-gradient(135deg, var(--color-custom11), var(--color-custom18));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Divider */
.result-divider {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-custom11), transparent);
  margin: 40px 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.result-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* Enhanced Result Highlight */
.result-highlight {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--color-custom11), var(--color-custom18));
  border-radius: 20px;
  margin-bottom: 40px;
  color: var(--color-custom7);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 15px 40px rgba(249, 115, 22, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.result-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.result-highlight p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
  opacity: 0.9;
}

.result-highlight h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 20px 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Enhanced Button */
.result-btn-back {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--color-custom11), var(--color-custom18));
  color: var(--color-custom7);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(249, 115, 22, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.result-btn-back::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.result-btn-back:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 15px 35px rgba(249, 115, 22, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.15);
  color: var(--color-custom7);
}

.result-btn-back:hover::before {
  left: 100%;
}

.result-btn-back:active {
  transform: translateY(-1px) scale(1.02);
}

.plan-header {
  text-align: center;
  padding: 3rem 0;
  color: var(--color-custom11);
}

.plan-header h1 {
  font-weight: 700;
  font-size: 2.8rem;
}

.plan-bmr-display {
  background: var(--color-custom7);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--color-custom20);
  display: inline-block;
  margin-top: 1rem;
  border-left: 5px solid var(--color-custom11);
}

.plan-bmr-display h3 {
  color: var(--color-custom11);
  margin: 0;
}

.plan-bmr-display p {
  margin: 0;
  color: var(--color-custom16);
}

.plan-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.plan-food-selector,
.plan-selected-foods {
  background: var(--color-custom7);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.plan-section-title {
  font-weight: 600;
  color: var(--color-custom11);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-custom14);
}

.plan-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.plan-category-btn {
  background: var(--color-custom14);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--color-custom16);
}

.plan-category-btn.active,
.category-btn:hover {
  background: var(--color-custom18);
  color: var(--color-custom7);
  transform: scale(1.05);
}

.plan-search-box {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--color-custom14);
  margin-bottom: 1.5rem;
}

.plan-food-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.plan-food-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.plan-food-item:hover {
  background-color: var(--color-custom22);
  border-color: var(--color-custom22);
  transform: translateX(5px);
}

.plan-food-item h3 {
  font-size: 1rem;
  margin: 0;
}

.plan-food-item p {
  font-size: 0.85rem;
  color: var(--color-custom16);
  margin: 0;
}

.plan-food-calories {
  font-weight: 600;
  color: var(--color-custom11);
}

#plan_selectedFoodsList {
  max-height: 250px;
  overflow-y: auto;
  padding: 5px;
}

#plan_goActivityBtn {
  background: linear-gradient(to right, var(--color-custom11), var(--color-custom18));
  color: var(--color-custom7);
  font-weight: bold;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.4);
  transition: all 0.3s ease;
}

#plan_goActivityBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 140, 0, 0.5);
}

.plan-selected-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-custom14);
}

.plan-selected-item p {
  color: var(--color-custom16);
}

.plan-quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-quantity-btn {
  background: var(--color-custom22);
  border: none;
  color: var(--color-custom11);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
}

.plan-remove-btn {
  background: var(--color-custom21);
  color: var(--color-custom1);
  border: none;
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.8rem;
}

.show-card {
  background-color: var(--color-custom7);
  border-radius: 20px;
  box-shadow: var(--color-custom20);
  padding: 2rem;
  border: none;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.show-header {
  text-align: center;
  margin-bottom: 2rem;
}

.show-header h1 {
  color: var(--color-custom23);
  font-weight: 700;
}

.show-header p {
  color: #777;
}

.show-summary-card {
  background-color: #fffaf5;
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--color-custom27);
  margin-bottom: 2rem;
}

.show-summary-card h3 {
  color: var(--color-custom23);
  font-weight: 600;
}

.show-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-custom27);
}

.show-summary-item:last-of-type {
  border-bottom: none;
}

.show-summary-item span:first-child {
  color: var(--color-custom28);
}

.show-summary-item .fw-bold {
  font-size: 1.2rem;
}

/* Use theme colors instead of bootstrap defaults */
.show-summary-item .text-danger {
  color: var(--color-custom1) !important;
}

.show-summary-item .text-primary {
  color: var(--color-custom24) !important;
}

.show-summary-item .text-success {
  color: var(--color-custom2) !important;
}

.show-summary-item .text-warning {
  color: var(--color-custom1) !important;
}

.show-progress-container {
  margin: 1.5rem 0;
}

.show-progress-bar-custom {
  height: 25px;
  background-color: var(--color-custom29);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.show-progress-fill {
  height: 100%;
  border-radius: 25px;
  transition: width 1s ease-in-out, background 0.5s ease;
}

.show-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-custom7);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.show-calorie-status {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 500;
  margin-top: 1rem;
}

.show-status-good {
  background-color: #e9f7ec;
  color: var(--color-custom2);
}

.show-status-warning {
  background-color: #fff8e1;
  color: var(--color-custom3);
}

.show-status-over {
  background-color: #fbe9e7;
  color: var(--color-custom1);
}

.show-food-list {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.show-food-list h3 {
  color: var(--color-custom23);
  font-weight: 600;
}

.show-food-item {
  background-color: #fff;
  border: 1px solid var(--color-custom27);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.show-food-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.show-food-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.show-food-name {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.1rem;
  margin: 0;
}

.show-food-calories {
  font-weight: 700;
  color: var(--color-custom23);
  font-size: 1.1rem;
  background-color: var(--background-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.show-food-details {
  color: #777;
  font-size: 0.9rem;
  margin: 0;
}

.show-no-foods {
  text-align: center;
  color: #aaa;
  padding: 2rem;
  border: 2px dashed var(--color-custom27);
  border-radius: 15px;
}

.show-no-foods .fas {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.show-back-button {
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.show-btn-back {
  color: var(--color-custom7);
  font-weight: bold;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.show-btn-back:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  color: var(--color-custom7);
}

.show-btn-back:first-of-type {
  background: linear-gradient(to right, var(--color-custom24), var(--color-custom25));
}

/* This will now properly style the second button */
.show-btn-back:nth-of-type(2) {
  background: linear-gradient(to right, var(--color-custom30), var(--color-custom31));
}

.activities-container {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
}

.activities-container {
  margin-left: auto;
  margin-right: auto;
}

.activities-container::-webkit-scrollbar {
  width: 8px;
  background: var(--color-custom56);
}

.activities-container::-webkit-scrollbar-thumb {
  background: var(--color-custom54);
  border-radius: 8px;
}

.activity-header {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-custom6);
  /* Changed text color to black */
}

.activity-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: none;
  /* Removed text shadow */
}

.activity-header p {
  font-size: 1.1rem;
  opacity: 1;
  /* Ensured full opacity */
}

.activity-main-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.activity-card-body {
  padding: 2rem;
}

.activity-bmr-info {
  background: linear-gradient(135deg, var(--color-custom32), var(--color-custom33));
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 1px solid var(--color-custom34);
}

.activity-bmr-info h3 {
  color: var(--color-custom35);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

.activity-bmr-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.activity-bmr-value {
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(25, 118, 210, 0.2);
}

.activity-bmr-value .label {
  font-size: 0.9rem;
  color: var(--color-custom44);
  margin-bottom: 0.5rem;
}

.activity-bmr-value .value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-custom35);
}

.activity-manual-input {
  background: var(--color-custom36);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 2px dashed var(--color-custom37);
}

.activity-manual-input h4 {
  color: var(--color-custom38);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-input-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.activity-input-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-custom38);
}

.activity-input-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-custom43);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.activity-input-field input:focus {
  outline: none;
  border-color: var(--color-custom39);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.activity-control-panel {
  background: linear-gradient(135deg, var(--color-custom40), var(--color-custom41));
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 1px solid var(--color-custom42);
}

.activity-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.activity-search-box {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.activity-search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid var(--color-custom43);
  border-radius: 25px;
  font-size: 1rem;
  background: var(--color-custom7);
  transition: all 0.3s;
}

.activity-search-box input:focus {
  outline: none;
  border-color: var(--color-custom39);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.activity-search-box .search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-custom44);
}

.activity-clear-search {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-custom44);
  cursor: pointer;
  display: none;
}

.activity-count {
  background: rgba(102, 126, 234, 0.1);
  color: var(--color-custom39);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.activity-calories-display {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 0.9rem;
  color: var(--color-custom48);
  font-weight: bold;
  display: none;
  /* Hide by default */
}

.activity-card.selected .activity-calories-display {
  display: block;
}

.activity-summary-panel {
  background: var(--color-custom7);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  /* Adjusted margin */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.activity-summary-panel .label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-custom47);
}

.activity-summary-panel .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-custom48);
}

.activity-calculate-btn {
  background: linear-gradient(135deg, var(--color-custom45), var(--color-custom46));
  color: var(--color-custom7);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.activity-calculate-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.activity-calculate-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.activity-container {
  display: grid;
  gap: 2rem;
}

.activity-category-section {
  background: var(--color-custom7);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid var(--color-custom43);
  padding: 1.5rem;
}

.activity-category-section.hidden {
  display: none;
}

.activity-category-section {
  margin-bottom: 30px;
}

.activity-category-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.activity-category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-custom50);
  font-size: 1.4rem;
  font-weight: 600;
}

.activity-category-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-custom7);
  font-size: 1.2rem;
}

.activity-category-icon.cardio {
  background: linear-gradient(135deg, var(--color-custom51), var(--color-custom52));
}

.activity-category-icon.strength {
  background: linear-gradient(135deg, var(--color-custom39), var(--color-custom53));
}

.activity-category-icon.sports {
  background: linear-gradient(135deg, var(--color-custom45), var(--color-custom46));
}

.activity-category-icon.daily {
  background: linear-gradient(135deg, var(--color-custom54), var(--color-custom55));
}

.activity-selected-count {
  background: rgba(102, 126, 234, 0.1);
  color: var(--color-custom39);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.activity-card {
  background: var(--color-custom36);
  border-radius: 12px;
  padding: 1.25rem;
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.activity-card:hover {
  background: var(--color-custom32);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.activity-card.selected {
  background: #e8f5e8;
  border-color: var(--color-custom45);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.activity-card.hidden {
  display: none;
}

.activity-checkbox {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--color-custom45);
}

.activity-name {
  font-weight: 600;
  color: var(--color-custom50);
  margin-bottom: 0.75rem;
  margin-right: 2rem;
  font-size: 1.05rem;
}

.activity-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.activity-met-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-met-badge {
  background: linear-gradient(135deg, var(--color-custom54), var(--color-custom55));
  color: var(--color-custom7);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

.activity-duration-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-duration-input {
  width: 70px;
  padding: 0.5rem;
  border: 2px solid var(--color-custom43);
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  transition: border-color 0.3s;
}

.activity-duration-input:focus {
  outline: none;
  border-color: var(--color-custom39);
}

.activity-unit-label {
  font-size: 0.85rem;
  color: var(--color-custom44);
  font-weight: 500;
}

/* No Results */
.activity-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-custom44);
}

.activity-no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Activity Header */
.activity-header {
  color: var(--color-custom6);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.activity-header strong {
  font-weight: bold;
}

.activity-header p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .activity-container {
    padding: 10px;
  }

  .activity-header h1 {
    font-size: 2rem;
  }

  .activity-card-body {
    padding: 1.5rem;
  }

  .activity-control-row {
    flex-direction: column;
    align-items: stretch;
  }

  .activity-search-box {
    min-width: auto;
    order: 1;
  }

  .activity-count {
    order: 2;
    text-align: center;
  }

  .activity-calculate-btn {
    order: 3;
    justify-content: center;
  }

  .activity-bmr-values {
    grid-template-columns: 1fr;
  }

  .activity-input-group {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .activity-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.summarize-main-container {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Result Card */
.summarize-result-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  box-shadow:
    0 20px 60px rgba(255, 138, 101, 0.15),
    0 8px 25px rgba(255, 138, 101, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 204, 128, 0.2);
  position: relative;
  overflow: hidden;
}

.summarize-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-custom57) 0%, var(--color-custom41) 50%, var(--color-custom58) 100%);
}

/* Result Title */
.summarize-result-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-custom59);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.summarize-result-title i {
  font-size: 32px;
  background: linear-gradient(135deg, var(--color-custom60) 0%, var(--color-custom61) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.summarize-save-instructions {
  background: var(--color-custom7);
  color: var(--color-custom13);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  border: 1px solid var(--color-custom14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.summarize-advice-card {
  background: var(--color-custom7);
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  border-left: 5px solid;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Info Sections */
.summarize-info-section {
  background: rgba(255, 248, 238, 0.7);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 204, 128, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.summarize-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(135deg, var(--color-custom60) 0%, var(--color-custom61) 100%);
}

.summarize-info-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 138, 101, 0.2);
}

.summarize-info-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-custom59);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summarize-info-title i {
  background: linear-gradient(135deg, var(--color-custom60) 0%, var(--color-custom61) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.summarize-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 204, 128, 0.2);
}

.summarize-info-item:last-child {
  border-bottom: none;
}

.summarize-info-label {
  font-weight: 500;
  color: var(--color-custom60);
}

.summarize-info-value {
  font-weight: 700;
  color: var(--color-custom59);
  font-size: 16px;
}

/* Food Section */
.summarize-food-section {
  background: rgba(255, 243, 224, 0.8);
  border-left: 5px solid var(--color-custom60);
}

.summarize-food-list {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  border: 1px solid rgba(255, 204, 128, 0.3);
}

.summarize-food-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  margin-bottom: 10px;
  background: rgba(255, 248, 238, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 128, 0.2);
  transition: all 0.3s ease;
}

.summarize-food-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(255, 138, 101, 0.15);
}

.summarize-food-name {
  font-weight: 600;
  color: var(--color-custom59);
  margin-bottom: 5px;
}

.summarize-food-serving {
  font-size: 14px;
  color: var(--color-custom60);
}

.summarize-food-calories {
  font-weight: 700;
  color: var(--color-custom48);
  font-size: 16px;
}

/* Exercise Section */
.summarize-exercise-section {
  background: rgba(227, 242, 253, 0.8);
  border-left: 5px solid var(--color-custom65);
}

.summarize-activity-table {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(255, 138, 101, 0.1);
}

.summarize-activity-table th {
  background: linear-gradient(135deg, var(--color-custom60) 0%, var(--color-custom61) 100%);
  color: white;
  font-weight: 600;
  padding: 15px;
  border: none;
}

.summarize-activity-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 204, 128, 0.2);
  color: var(--color-custom59);
}

.summarize-activity-table tbody tr:hover {
  background: rgba(255, 248, 238, 0.5);
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* Section Divider */
.summarize-section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-custom60), transparent);
  margin: 30px 0;
  opacity: 0.5;
}

.summarize-section-divider-small {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-custom61), transparent);
  margin: 15px 0;
  opacity: 0.3;
}

/* TDEE Result */
.summarize-tdee-result {
  text-align: center;
  background: linear-gradient(135deg, var(--color-custom60) 0%, var(--color-custom61) 100%);
  color: white;
  padding: 30px;
  border-radius: 20px;
  margin: 30px 0;
  box-shadow: 0 15px 40px rgba(255, 138, 101, 0.3);
  position: relative;
  overflow: hidden;
}

.summarize-tdee-result::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.summarize-tdee-value {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.summarize-tdee-label {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
}

/* Calories Summary */
.summarize-calories {
  background: rgba(255, 248, 238, 0.8);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 204, 128, 0.3);
  margin: 25px 0;
}

.summarize-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 204, 128, 0.2);
  color: var(--color-custom59);
}

.summarize-item:last-child {
  border-bottom: none;
}

/* Balance colors */
.summarize-balance-item.surplus {
  color: var(--color-custom62);
}

.summarize-balance-item.deficit {
  color: var(--color-custom62);
}

.summarize-balance-item.balanced {
  color: var(--color-custom63);
}

/* Buttons */
.summarize-back-btn {
  background: linear-gradient(135deg, var(--color-custom60) 0%, var(--color-custom61) 100%);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 138, 101, 0.3);
  position: relative;
  overflow: hidden;
}

.summarize-back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 138, 101, 0.4);
  color: white;
}

.summarize-back-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;
}

.summarize-back-btn:hover::before {
  left: 100%;
}