* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors - Kitchen/Food Theme */
  --bg: #0f172a;
  --bg-secondary: #111827;
  --panel: #1e293b;
  --panel-light: #334155;
  --panel-lighter: #475569;

  /* Primary Accent - Warm Orange for kitchen vibes */
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fb923c;

  /* Secondary Accent - Complementary Teal */
  --secondary: #06b6d4;
  --secondary-dark: #0891b2;
  --secondary-light: #22d3ee;

  /* Text Colors */
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Spacing & Sizing */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

html,
body {
  min-height: 100%;
  font-family:
    "Inter",
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, #0d1b2a 50%, var(--bg-secondary) 100%);
  color: var(--text);
  font-weight: 500;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(95%, 1100px);
  margin: 0 auto;
}

.site-header,
.site-footer {
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 2px solid rgba(249, 115, 22, 0.2);
  backdrop-filter: blur(10px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-brand a {
  text-decoration: none;
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar .nav-links {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.navbar .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  background: transparent;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #0f172a;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.content-area {
  padding: 1.75rem 0 2rem;
  flex: 1;
}

.main-section {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.main-section:hover {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.1);
}

.flash-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(249, 115, 22, 0.1);
  color: #fed7aa;
  border: 1.5px solid rgba(249, 115, 22, 0.4);
  margin-bottom: 1.5rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 2px solid rgba(249, 115, 22, 0.2);
  margin-top: 2rem;
}

button,
input,
textarea,
select {
  font: inherit;
}

.recipe-card,
#recipesContainer,
.searchOutput,
#filterPanel {
  border-radius: var(--radius);
  margin: 10px;
  padding: 2px 5px;
}

input,
textarea,
select,
button {
  border: 1.5px solid rgba(51, 65, 85, 0.6);
  padding: 0.85rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  color: var(--text);
  transition: all 0.25s ease;
  font-weight: 500;
  border-radius: var(--radius);
}

input:not(input[type="checkbox"]):not(input[type="radio"]),
textarea,
select,
button {
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

button:hover::before {
  left: 100%;
}

button:active {
  transform: translateY(0);
}

a {
  color: var(--primary);
}

a:hover {
  text-decoration: underline;
}

.card,
#recipesContainer,
.searchOutput,
#filterPanel {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(249, 115, 22, 0.15);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.rotateQuarter{
  transform: rotate(-90deg);
}

.formSection {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.formSection label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  display: block;
}

.formSection input:not(input[type="checkbox"]):not(input[type="radio"]),
.formSection textarea,
.formSection select {
  margin: 0;
  width: 100%;
}

.recipeForm {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gridCenter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.inline-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.6);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}

.inline-label:hover {
  border-color: rgba(249, 115, 22, 0.6);
  background: rgba(30, 41, 59, 0.8);
}

.inline-label input[type="checkbox"],
.inline-label input[type="radio"] {
  cursor: pointer;
  margin: 0;
  width: auto;
  height: auto;
}

.ingredientsForm {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  margin-bottom: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.ingredientsForm input,
.ingredientsForm select {
  margin: 0;
}

.ingredientsForm input[type="number"] {
  max-width: 100px;
}

.ingredientsForm select {
  max-width: 100px;
}

.ingredientsForm input[type="text"] {
  flex: 1;
  min-width: 150px;
}

#ingredientsList {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

#ingredientsList li {
  padding: 0.75rem 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
}

#ingredientsList li:hover {
  background: rgba(30, 41, 59, 0.8);
  border-left-color: var(--primary-light);
}

/* Profile Page */
.profile-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.profile-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: min(100%, 700px);
  margin: 0 auto;
}

.profile-sidebar {
  display: grid;
  gap: 1.5rem;
}

.profile-recipes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.profile-page h1 {
  margin-bottom: 0;
}

.profile-card,
.profile-panel {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.profile-card h2,
.profile-panel h2,
.profile-recipes h2 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.25rem;
}

.profile-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.profile-card li {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(249, 115, 22, 0.15);
  color: var(--text-secondary);
}

.profile-card li strong {
  color: var(--text);
}

#signOut {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border: none;
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}

#signOut:hover,
.redBtn:hover {
  opacity: 0.95;
}


.button-delete-kitchen,
.button-leave-kitchen,
.redBtn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
}

#profileRecipesContainer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

#profileRecipesContainer li {
  margin: 0;
}

.description {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.profile-recipes .recipe-card {
  width: 100%;
}

@media (max-width: 900px) {
  .profile-top {
    width: 100%;
  }
}

.card {
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.1);
}

.card h2 {
  margin-left: 11px;
  color: var(--text);
  font-weight: 700;
}

#recipesContainer {
  padding: 1rem;
  max-height: 520px;
  overflow-y: auto;
}

#recipesContainer::-webkit-scrollbar {
  width: 8px;
}

#recipesContainer::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.3);
  border-radius: 10px;
}

#recipesContainer::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.4);
  border-radius: 10px;
  transition: all 0.2s ease;
}

#recipesContainer::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 115, 22, 0.7);
}

#recipesContainer li {
  list-style: none;
  margin: 0.6rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(249, 115, 22, 0.1);
}

#recipesContainer li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(15, 23, 42, 0.7);
}

.categoryBtn,
.sortCategory,
#filterToggle {
  border-radius: var(--radius);
  border: 1.5px solid rgba(249, 115, 22, 0.3);
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.categoryBtn:hover,
.sortCategory:hover,
#filterToggle:hover {
  background: rgba(249, 115, 22, 0.15);
  color: var(--text);
  border-color: rgba(249, 115, 22, 0.6);
  transform: translateY(-2px);
}

.categorySelected {
  background: rgba(249, 115, 22, 0.25);
  border-color: rgba(249, 115, 22, 0.7);
  color: var(--text);
}

.bg-red {
  background-color: red;
  padding: 1rem;
}

/* ==================== UTILITY CLASSES ==================== */
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Display & Layout */
.hidden {
  display: none !important;
}
.visible {
  display: block !important;
}
.inline {
  display: inline;
}
.inline-block {
  display: inline-block;
}

.crossedOut {
  text-decoration: line-through;
  opacity: 0.6;
  color: var(--secondary-dark);
}

/* Flexbox Utilities */
.flex {
  display: flex;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.flex-gap {
  gap: 1rem;
}
.flex-gap-sm {
  gap: 0.5rem;
}
.flex-gap-lg {
  gap: 1.5rem;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-stretch {
  align-items: stretch;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}

.flexRow {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Spacing - Margin */
.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.25rem;
}
.m-2 {
  margin: 0.5rem;
}
.m-3 {
  margin: 0.75rem;
}
.m-4 {
  margin: 1rem;
}
.m-6 {
  margin: 1.5rem;
}
.m-8 {
  margin: 2rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}

/* Spacing - Padding */
.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Text Utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-lowercase {
  text-transform: lowercase;
}
.text-capitalize {
  text-transform: capitalize;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-normal {
  font-weight: 500;
}
.text-sm {
  font-size: 0.875rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-muted {
  color: var(--text-muted);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-primary {
  color: var(--primary);
}
.text-success {
  color: var(--success);
}
.text-warning {
  color: var(--warning);
}
.text-danger {
  color: var(--danger);
}

/* Width & Height */
.w-full {
  width: 100%;
}
.w-auto {
  width: auto;
}
.h-full {
  height: 100%;
}
.h-auto {
  height: auto;
}
.min-h-screen {
  min-height: 100vh;
}

/* Grid Utilities */
.grid {
  display: grid;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}

/* Sizing Utilities */
.rounded {
  border-radius: var(--radius);
}
.rounded-lg {
  border-radius: var(--radius-lg);
}
.rounded-full {
  border-radius: var(--radius-full);
}

/* Opacity & Visibility */
.opacity-50 {
  opacity: 0.5;
}
.opacity-75 {
  opacity: 0.75;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}
.cursor-default {
  cursor: default;
}

/* No Styling Class */
.no-style,
.no-styling {
  text-decoration: none;
  list-style: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
}

.recipe-card {
  gap: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(249, 115, 22, 0.15);
  transition: all 0.3s ease;
}

.recipe-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
  transform: translateY(-6px);
}

.recipe-image {
  max-width: 200px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(249, 115, 22, 0.2);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-image {
  transform: scale(1.05);
}

.recipe-hero {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(249, 115, 22, 0.2);
  margin-bottom: 1.5rem;
  display: block;
}

.ingredients-list,
.instructions {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.ingredients-list li,
.instructions li {
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  background: rgba(15, 23, 42, 0.5);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: all 0.25s ease;
}

.ingredients-list li:hover,
.instructions li:hover {
  background: rgba(15, 23, 42, 0.8);
  transform: translateX(4px);
}

.tag {
  display: inline-block;
  margin-right: 0.6rem;
  margin-top: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.2);
  color: #fed7aa;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(249, 115, 22, 0.4);
  transition: all 0.2s ease;
}

.tag:hover {
  background: rgba(249, 115, 22, 0.35);
  border-color: rgba(249, 115, 22, 0.7);
}

/* Recipe View Styles */
.timerBox {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 2px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1);
}

.timerDisplay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 2rem;
  background: rgba(249, 115, 22, 0.08);
  border: 2px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-lg);
}

.timerLabel {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

#timerDisplay {
  color: var(--primary);
  font-size: 3.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  line-height: 1;
}

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

.adjustButtons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.adjustBtn {
  min-width: 100px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid rgba(249, 115, 22, 0.4);
  background: rgba(30, 41, 59, 0.8);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

.adjustBtn:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.adjustBtn:active {
  transform: translateY(0);
}

.actionButtons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.actionButtons button {
  min-width: 140px;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#startTimerBtn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
}

#startTimerBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

#pauseTimerBtn,
#resetTimerBtn {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text);
  border: 2px solid rgba(249, 115, 22, 0.3);
}

#pauseTimerBtn:hover,
#resetTimerBtn:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.crossOutBtn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.crossOutBtn input[type="checkbox"] {
  margin: 0;
  width: auto;
  cursor: pointer;
}

.crossOutBtn.checked {
  text-decoration: line-through;
  opacity: 0.6;
}

.crossOutBtn:hover {
  cursor: pointer;
  text-decoration: line-through;
  opacity: 0.8;
}

.categoriesContainer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.recipe-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.3);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.editSection {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(249, 115, 22, 0.2);
}

.editSection .button, .button-edit,
.editSection a {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.25s ease;
}

.editSection a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1-fr); /* 7 equal columns */
  gap: 15px;
  padding: 20px;
}

.day-column {
  /* background: var(--panel-lighter); */
  border-radius: 8px;
  padding: 10px;
  min-height: 100px;
}

/* Make it look like your reference */
.meal-card {
  /* background: white; */
  border-left: 5px solid #007bff;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.meal-card-empty {
  border-left: 5px solid red;
}

.meal {
  width: 80%;
}

.meal-badge {
  font-size: 10px;
  text-transform: uppercase;
  color: #666;
}

#showSignIn {
  width: auto;
  height: fit-content;
}

.noStyling {
  text-decoration: none;
  list-style: none;
  background: none;
  border: none;
}

/* Link Styles */
a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.smallBtn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

#signOut {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  max-width: fit-content;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
}

#signOut:hover {
  opacity: 0.95;
}

.redBtn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
}

.redBtn:hover {
  opacity: 0.95;
}

.selected{
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6), inset 0 0 15px rgba(245, 158, 11, 0.2);
  animation: pausePulse 1.5s ease-in-out infinite;
}

@keyframes pausePulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6), inset 0 0 15px rgba(245, 158, 11, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8), inset 0 0 20px rgba(245, 158, 11, 0.3);
  }
}

.paused-state {
  opacity: 0.75;
  position: relative;
  filter: brightness(0.9);
}

.paused-state::after {
  content: "⏸ PAUSED";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(245, 158, 11, 0.95);
  color: #0f172a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
  animation: pauseFloat 2s ease-in-out infinite;
}

@keyframes pauseFloat {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-4px);
  }
}

/* Screen Dependet Settings */

@media (max-width: 880px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar .nav-links {
    justify-content: center;
    gap: 0.5rem;
  }

  .content-area {
    padding: 1.5rem 0 1.5rem;
  }

  .main-section {
    padding: 1.5rem;
  }

  .recipe-card {
    flex-direction: column;
    gap: 1rem;
  }

  .recipe-image {
    max-width: 100%;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: 1fr; /* Only 1 column wide on mobile */
  }

  .day-column {
    margin-bottom: 20px;
  }

  .profile-container {
    grid-template-columns: 1fr;
  }

  .profile-sidebar,
  .profile-recipes {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .calendar-grid {
    grid-template-columns: 1fr; /* Only 1 column wide on mobile */
  }

  .day-column {
    margin-bottom: 20px;
  }
}
