/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --font-playfair: 'Playfair Display', Georgia, serif;
    --font-crimson: 'Crimson Pro', Georgia, serif;
    --color-cream: #FAF4E8;
    --color-cream-dark: #EFE3C8;
    --color-cream-border: #DFD0B0;
    --color-parchment: #F0E4CA;
    --color-terracotta: #C4622D;
    --color-terracotta-dark: #9E4A1F;
    --color-terracotta-soft: #F0D0BC;
    --color-espresso: #1A0D06;
    --color-espresso-mid: #2E180F;
    --color-ink: #2C1810;
    --color-ink-muted: #6B4C38;
    --color-sand: #C8A87A;
    --color-gold: #C9963A;
    --color-gold-soft: #F0DBA0;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .inset-y-0 {
    inset-block: calc(var(--spacing) * 0);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .z-40 {
    z-index: 40;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .grow {
    flex-grow: 1;
  }
  .-translate-x-full {
    --tw-translate-x: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .flex-col {
    flex-direction: column;
  }
}
@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  body {
    font-family: var(--font-crimson);
    background-color: var(--color-cream);
    color: var(--color-ink);
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-playfair);
    color: var(--color-ink);
    line-height: 1.2;
  }
  input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--color-cream-border);
    border-radius: 0.75rem;
    color: var(--color-ink);
    font-family: var(--font-crimson);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
  }
  input:focus, textarea:focus, select:focus {
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(196, 98, 45, 0.12);
  }
  label {
    display: block;
    font-family: var(--font-crimson);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-ink-muted);
    margin-bottom: 0.375rem;
  }
  ::placeholder {
    color: var(--color-sand);
  }
}
@layer components {
  .sidebar-root {
    background: var(--color-espresso);
    position: relative;
  }
  .sidebar-root::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(250,244,232,0.025) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 0;
  }
  .sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;
    font-family: var(--font-crimson);
    font-size: 0.9375rem;
    color: rgba(250, 244, 232, 0.6);
    transition: all 0.18s ease;
    position: relative;
  }
  .sidebar-link:hover {
    color: rgba(250, 244, 232, 0.95);
    background: rgba(250, 244, 232, 0.08);
  }
  .sidebar-link.active {
    color: var(--color-gold-soft);
    background: rgba(196, 98, 45, 0.25);
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: var(--color-terracotta);
    color: var(--color-cream);
    border-radius: 0.625rem;
    font-family: var(--font-crimson);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
  }
  .btn-primary:hover {
    background: var(--color-terracotta-dark);
    box-shadow: 0 4px 16px rgba(196, 98, 45, 0.35);
    transform: translateY(-1px);
  }
  .btn-primary:active {
    transform: translateY(0);
  }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--color-ink-muted);
    border: 1px solid var(--color-cream-border);
    border-radius: 0.625rem;
    font-family: var(--font-crimson);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
  }
  .btn-ghost:hover {
    background: var(--color-parchment);
    border-color: var(--color-sand);
    color: var(--color-ink);
  }
  .recipe-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 24, 16, 0.07), 0 0 0 1px rgba(44, 24, 16, 0.04);
  }
  .recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(44, 24, 16, 0.12), 0 0 0 1px rgba(44, 24, 16, 0.06);
  }
  .recipe-card-thumb {
    height: 12rem;
    background: linear-gradient(135deg, var(--color-parchment) 0%, var(--color-cream-dark) 60%, #E0C89A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .recipe-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(44,24,16,0.06) 100%);
  }
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-crimson);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .badge-easy {
    background: #EDF4EC;
    color: #3A6132;
    border: 1px solid #B8D9B2;
  }
  .badge-medium {
    background: #FBF0DC;
    color: #8B5E14;
    border: 1px solid #DFC080;
  }
  .badge-hard {
    background: #FAF0EE;
    color: #9B3220;
    border: 1px solid #DFB0A8;
  }
  .form-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(44,24,16,0.07), 0 0 0 1px rgba(44,24,16,0.05);
  }
  .content-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(44,24,16,0.06), 0 0 0 1px rgba(44,24,16,0.04);
  }
  .section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .section-heading h2 {
    white-space: nowrap;
    font-size: 1.5rem;
  }
  .section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-cream-border);
  }
  .form-errors {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    font-family: var(--font-crimson);
    font-size: 0.875rem;
    color: #9B3220;
  }
  .flash-success {
    background: #EDF4EC;
    color: #2F5E28;
    border: 1px solid #B8D9B2;
  }
  .flash-error {
    background: #FAF0EE;
    color: #9B3220;
    border: 1px solid #DFB0A8;
  }
  .flash-info {
    background: #FBF4DC;
    color: #8B6014;
    border: 1px solid #DFC880;
  }
  .star-input {
    display: none;
  }
  .star-label {
    font-size: 1.875rem;
    color: var(--color-cream-dark);
    cursor: pointer;
    transition: transform 0.15s, color 0.15s;
    display: inline-block;
  }
  .star-label:hover, .star-input:checked ~ .star-label {
    color: var(--color-gold);
    transform: scale(1.15);
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
    }
  }
}
