:root {
  --primary-orange: #f05323;
  --bg-cream: #FFFBEB;
  --card-bg: #ffffff;
  --border-subtle: #eae6df;
  --text-main: #2b2b2b;
  --text-muted: #777777;
}

body.app-bg {
  background-color: var(--bg-cream) !important;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text-main);
}

/* Navbar Custom Styling */
.custom-navbar {
  background-color: white;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-icon-wrapper {
  width: 46px;
  height: 46px;
  background-color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.nav-actions .nav-icon-btn {
  background: transparent;
  border: none;
  font-size: 19px;
  color: #555555;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-actions .nav-icon-btn:hover {
  color: var(--primary-orange);
}

.user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Main Card Container */
.main-recipe-card {
  background-color: var(--card-bg);
  border-radius: 32px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

/* Image Container */
.recipe-img-container {
  position: relative;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
}

.recipe-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

/* Time Stats Box */
.stats-box {
  background-color: #fdfaf5;
  border: 1px solid #f0eae1;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-title {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-val {
  font-weight: 700;
  font-size: 15px;
}

.stat-line {
  width: 1px;
  height: 38px;
  background-color: var(--border-subtle);
}

/* Badges & Titles */
.badge-pill {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-blue { background: #e3f2fd; color: #1565c0; }

.recipe-title-text {
  font-size: 34px;
  font-weight: 800;
}

.recipe-desc-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.action-circle-btn {
  background: #f4f1ea;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #555;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.action-circle-btn:hover {
  background: #e8e3d8;
  color: var(--primary-orange);
}

/* Warning Box */
.warning-alert {
  background-color: #fdf2f2;
  border: 1px solid #f8d7da;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tabs Navigation */
.tab-header-list {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--border-subtle);
}

.tab-item {
  background: none;
  border: none;
  padding: 10px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.tab-item.active {
  color: var(--primary-orange);
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-orange);
  border-radius: 3px;
}

/* Scrollable Container for Tab Items */
.tab-scroll-container {
  max-height: 270px;
  overflow-y: auto;
}

.tab-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.tab-scroll-container::-webkit-scrollbar-track {
  background: #f1ede6;
  border-radius: 10px;
}

.tab-scroll-container::-webkit-scrollbar-thumb {
  background: #d8d0c3;
  border-radius: 10px;
}

.tab-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* Tab List Items Custom UI */
.list-row-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 14px;
  background-color: #fdfbf7;
  border: 1px solid #f2ece1;
}

.num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-orange);
  color: white;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Primary Action Button */
.try-recipe-btn {
  width: 100%;
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.try-recipe-btn:hover {
  background-color: #d94519;
}