/* =========================
   CV PREMIUM THEME
   ========================= */
body.theme-scandi {
    /* =========================
       COLORS
       ========================= */

    /* Backgrounds */
    --bg-main: #f3efe9;
    --bg-panel: #ffffff;

    /* Text */
    --text-body: #2c2c2c;
    --text-heading: #3f4c5a;
    --text-muted: #8b8b8b;
    --text-box: #2f2f2f;

    /* Accents */
    --accent-primary: #3f4c5a;   /* grafit */
    --accent-secondary: #d2ad7f; /* ciepłe złoto */
    --accent-danger: #b35b5b;

    /* Shadows */
    --shadow-primary: 0 18px 45px rgba(0,0,0,0.08);
    --shadow-secondary: 0 6px 14px rgba(0,0,0,0.06);

    /* Fonts */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;


    /* =========================
       PREMIUM BACKGROUND
       ========================= */
    background:
        linear-gradient(
            160deg,
            #f6f2ec 0%,
            #f3efe9 40%,
            #ece5dc 100%
        );
}

/* =========================
   TYPOGRAPHY
   ========================= */
body.theme-scandi {
    color: var(--text-body);
}

body.theme-scandi h1,
body.theme-scandi h2,
body.theme-scandi h3 {
    color: var(--text-heading);
    font-family: var(--font-heading);
    letter-spacing: 0.35px;
    text-shadow: none;
}

/* elegancki, cienki akcent pod h3 */
body.theme-scandi h3::after {
    content: "";
    display: block;
    width: 52px;
    height: 2px;
    margin: 10px auto 0;
    background: linear-gradient(
        90deg,
        var(--accent-secondary),
        rgba(210,173,127,0.3)
    );
}

/* =========================
   INPUTS / TEXTAREA / SELECT
   ========================= */
body.theme-scandi input,
body.theme-scandi textarea,
body.theme-scandi select {
    background: #ffffff;
    color: var(--text-body);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 11px 14px;
    font-family: var(--font-body);
    box-shadow: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

body.theme-scandi input::placeholder,
body.theme-scandi textarea::placeholder {
    color: var(--text-muted);
}

body.theme-scandi input:focus,
body.theme-scandi textarea:focus,
body.theme-scandi select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(63,76,90,0.18);
}

/* =========================
   BUTTONS
   ========================= */
body.theme-scandi button {
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 10px 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* primary */
body.theme-scandi button.primary {
    background: linear-gradient(
        135deg,
        #3f4c5a,
        #566878
    );
    color: #ffffff;
}

/* secondary */
body.theme-scandi button.secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

body.theme-scandi button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-secondary);
}

/* =========================
   RECIPE BOX
   ========================= */
body.theme-scandi .recipe-box {
    background: #ffffff;
    color: var(--text-box);
    border-radius: 20px;
    border: 1px solid #e6e1db;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

/* delikatny, skośny akcent (jak w CV, ale subtelniej) */
body.theme-scandi .recipe-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: -40px;
    width: 140px;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(210,173,127,0.25),
        rgba(210,173,127,0.05)
    );
    transform: skewX(-12deg);
}

body.theme-scandi .recipe-box h3 {
    color: var(--text-heading);
    margin-bottom: 10px;
}

/* =========================
   INGREDIENTS – CLEAN LIST
   ========================= */
body.theme-scandi .ingredients-list {
    margin-top: 10px;
    gap: 6px;
}

body.theme-scandi .ingredient {
    display: flex;
    align-items: center;
    gap: 10px;

    background: transparent; /* 🔥 bez tabletki */
    padding: 6px 2px;

    border-bottom: 1px dashed rgba(0,0,0,0.08);
    font-size: 15px;
}

body.theme-scandi .ingredient:last-child {
    border-bottom: none;
}

body.theme-scandi .ingredient span {
    color: var(--text-body);
}

/* checkbox elegancki */
body.theme-scandi .ingredient input[type="checkbox"] {
    accent-color: var(--accent-primary);
}

/* =========================
   MODALS
   ========================= */
body.theme-scandi .modal-content {
    background: #ffffff;
    border-radius: 26px;
    border: none;
    box-shadow: 0 30px 70px rgba(0,0,0,0.2);
    color: var(--text-body);
}

/* =========================
   TOASTS
   ========================= */
body.theme-scandi .toast {
    background: #ffffff;
    color: var(--text-body);
    border-left: 6px solid var(--accent-secondary);
    border-radius: 16px;
    box-shadow: var(--shadow-primary);
}

/* =========================
   DIVIDER
   ========================= */
body.theme-scandi .divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(63,76,90,0.35),
        transparent
    );
}



body.theme-scandi {
    --done-slider-bg: #b0b0b0;
    --done-slider-checked-bg: #8faeb0;   /* spokojny scandi */
}

body.theme-scandi .recipe-image {
    border: 1px solid rgba(0,0,0,0.05);
}

body.theme-scandi .user-badge {
    border: 1px solid var(--accent-secondary);
    color: var(--accent-primary);

    background: rgba(210,173,127,0.12);

    font-family: var(--font-body);
    font-weight: 600;

    text-shadow: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    border-radius: 999px;
}

body.theme-scandi .burger-menu {
    position: absolute;
    top: 100%;
    right: 0;

    background: #ffffff;
    backdrop-filter: none;

    border-radius: 18px;
    border: 1px solid #e6e1db;

    box-shadow: 0 18px 40px rgba(0,0,0,0.12);

    padding: 12px;
}

.burger-btn {
  color: var(--accent-primary);
  transition: color .2s ease;
}

.burger-btn.active {
  color: var(--accent-secondary);
}

body.theme-scandi .qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

 body.theme-scandi .shopping-item {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        background: var(--accent-secondary);
        border-radius: 12px;
        margin-top: 8px;
    }

 body.theme-scandi   .shopping-item.done {
        opacity: 0.45;
        background: var(--bg-muted);
    }

    body.theme-scandi .recipe-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    border-radius: 999px;
    font-family: var(--font-body);

    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    white-space: nowrap;
}

body.theme-scandi .recipe-badge.mine {
    background: linear-gradient(
        135deg,
        rgba(210,173,127,0.35),
        rgba(210,173,127,0.15)
    );
    color: var(--accent-primary);
    border: 1px solid rgba(210,173,127,0.6);
}

body.theme-scandi .recipe-badge.mine.public {
    background: linear-gradient(
        135deg,
        rgba(143,174,176,0.35),
        rgba(143,174,176,0.15)
    );
    border-color: rgba(143,174,176,0.7);
    color: #3f4c5a;
}

body.theme-scandi .recipe-badge.mine.private {
    background: linear-gradient(
        135deg,
        rgba(179,91,91,0.25),
        rgba(179,91,91,0.12)
    );
    border-color: rgba(179,91,91,0.45);
    color: #6a2f2f;
}


body.theme-scandi .recipe-badge.foreign {
    background: rgba(63,76,90,0.08);
    color: var(--text-muted);
    border: 1px solid rgba(63,76,90,0.18);
    box-shadow: none;
}
