
/*#F0F0F2*/
/*#999FBF*/
/*#374C8C*/
/*#294273*/
/*#0D0D0D*/

/*
🌿 Modern Recipe Manager Color Theme
🎨 Palette

Primary (brand & buttons):
🍅 Tomato Red → #EF4444
(modern red, vibrant but not harsh)

Secondary (accents & highlights):
🥒 Fresh Green → #10B981
(clean, natural, healthy vibe)

Accent (for hover, tags, highlights):
🍋 Citrus Amber → #F59E0B
(warm highlight for buttons, badges)

Backgrounds:
🍞 Off White → #F9FAFB (light, airy background)
🌰 Warm Gray → #6B7280 (for text, icons, dividers)

Dark Text:
🪵 Charcoal → #1F2937 (headings, contrast text)

🖌 Usage Guide

Navbar/Header: Charcoal background (#1F2937) with white text → modern & clean.

Primary Buttons: Tomato Red (#EF4444) with white text → stands out, strong CTA.

Secondary Buttons: Fresh Green (#10B981) with white text → friendly & balanced.

Cards/Containers: White background with subtle shadow, rounded corners.

Tags/Badges (e.g., “Vegan”, “Quick”): Citrus Amber (#F59E0B) or Green.

Background: Off White (#F9FAFB) → keeps things light, photos pop out.


*/


:root {
    --color-main: #1F2937;
    --color-cta1: #EF4444;
    --color-cta1-hover: #a82727;
    --color-cta2: #10B981;
    --colo-background: #F9FAFB;
    --highlight1: #10B981;
    --highlight1_text: white;

    --highlight2: #c2c6d4;
    --highlight2_text: white;

    --color-warning: #f46d6d;
    --color-alert: #ed9746;
    --main-text: #6B7280;
    --secondary-text: #615d48;
    --white: white;

    --font-family-fa-awesome: 'Font Awesome 6 Free';
}


@font-face {
    font-family: 'FFMetaProCond';
    src: url('/fonts/FFMetaPro/FFMetaProCondRg.TTF') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    /*descent-override: 0%;*/
    /*ascent-override: 0%;*/
}

@font-face {
    font-family: 'FFMetaProCond';
    src: url('/fonts/FFMetaPro/FFMetaProCondMed.TTF') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    /*descent-override: 0%;*/
    /*ascent-override: 0%;*/
}

@font-face {
    font-family: 'FFMetaProCond';
    src: url('/fonts/FFMetaPro/FFMetaProCondBd.TTF') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    /*descent-override: 0%;*/
    /*ascent-override: 0%;*/
}


@font-face {
    font-family: 'FFMetaProRegular';
    src: url('/fonts/FFMetaPro/FFMetaProRegular.TTF') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    /*descent-override: 0%;*/
    /*ascent-override: 0%;*/
}

@font-face {
    font-family: 'FFMetaProLight';
    src: url('/fonts/FFMetaPro/FFMetaProLight.TTF') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    /*descent-override: 0%;*/
    /*ascent-override: 0%;*/
}



@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Light.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-ExtraBold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


a {
    cursor: pointer;
}

body, html {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: FFMetaProCond, Roboto;
    font-weight: 200;
    color: var(--main-text);
    word-break: break-word;
    overflow-wrap: anywhere;
    background-color: #030c10;
}

button {
    font-family: FFMetaProCond, Roboto;
    font-size: 1rem;
    font-weight: 100;
}

body {
    overflow-y: scroll;
}

.hidden {
    display: none;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

.warning {
    color: var(--color-warning) !important;
}

.alert {
    color: var(--color-alert) !important;
}

.good {
    color: var(--color-cta1) !important;
}

.header {
    height: 60px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: var(--color-main);
    -webkit-box-shadow: 0px 0px 17px 2px rgba(0,0,0,0.63);
    box-shadow: 0px 0px 17px 2px rgba(0,0,0,0.63);
}

.header,
.main,
.menu {
    max-width: 500px !important;
}

.main {
    min-height: calc(100vh - 130px);
    transition: opacity 0.2s ease-in;
    display: flex;
    flex-direction: column;
    background-color: #10161d;
    max-width: 100vw;
    overflow-x: hidden;
    padding-bottom: 60px; /* menu height */
    padding-top: 70px;
}

.main>.container {
    padding: 0.5rem;
}

.btn_cta1,
input[type='file']::file-selector-button
{
    background-color: var(--color-cta1);
    color: white;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;  /* Prevents shrinking */
    flex-grow: 0;
    text-align: center;
    border: none;
    box-shadow: none;
    position: relative;
    text-decoration: none;
}


/* LOGIN */


#loginForm {
    display: flex ;
    flex-direction: column;
    gap: 15px;
    padding: 2rem;
    background-color: transparent;
    border-radius: 15px;
    margin: 2rem;
}


.loginInput {
    width: 100%;
    position: relative;
    display: flex;
}


#triggerGetNewPwd {
    text-align: left;
    background-color: transparent;
    border: none;
    color: var(--color-main);
}

.loginInput .inputOverlay {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--color-main);
}

.loginInput input {
    width: 100%;
    padding: 15px;
    padding-left: 45px;
    border: 1px solid var(--main-text);
    background-color: #1f2937 !important;
}

.loginInput i {
    color: white;
}

#forgotPwdDiv .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


/* END LOGIN */


.shoppingList {
    display: flex;
    flex-direction: column;
    /*padding: 0.25rem;*/
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.shoppingList .recipe-image {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    background-size: cover;
    background-position: center;
    background-color: #131920;
    flex-shrink: 0;
}

.shoppingList .listEntry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f2937f2;
    padding: 1rem;
    border-radius: 15px;
    color: white;
}

.shoppingList .listEntry h3,
.shoppingList .listEntry p {
    margin: 0;
}

.shoppingList h2 {
    margin: 0 1rem;
}

.shoppingList .pretty-checkbox {
    margin: 0;
}

.shoppingList .pretty-checkbox input:checked + .checkmark {
    background-color: #2a3441;
    border-color: #2a3441;
}


/* START - Pretty Checkbox */
.pretty-checkbox {
    display: flex;
    align-items: flex-start; /* align checkbox with top of text */
    flex-wrap: nowrap;
    font-size: 1rem;
    user-select: none;
    max-width: 100%; /* prevent overflow */
}

table .pretty-checkbox {
    margin: 0;
}

.pretty-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.checkmark {
    flex-shrink: 0; /* prevent squishing */
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    margin-right: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid var(--highlight2);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pretty-checkbox input:checked + .checkmark {
    border-color: var(--highlight2);
    background-color: #ebecfb;
}

.pretty-checkbox input:checked + .checkmark::after {
    display: block;
}

.pretty-checkbox:hover .checkmark {
    border-color: var(--highlight2);
}

.pretty-checkbox span + * {
    flex: 1;
}

.pretty-checkbox {
    margin-bottom: 20px;
    width: fit-content;
}

.pretty-checkbox.has-error span {
        border: 2px solid var(--color-warning) !important;
}

/* END - Pretty Checkbox */

.menu {
    height: 60px;
    width: 100%;
    background-color: var(--color-main);
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    -webkit-box-shadow: 0px 0px 17px 2px rgba(0, 0, 0, 0.63);
    box-shadow: 0px 0px 17px 2px rgba(0, 0, 0, 0.63);
}

.menu>a {
    width: 100%;
    height: auto;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
}

.menu>a.active {
    color: var(--color-cta1);
}

.recipeDetail h1 {
    color: #cacaca;
    text-align: center;
}

.recipeDetail>h3 {
    font-size: 1.35rem;
    text-align: center;
    color: #cacaca;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: solid 2px #3b4b5e;
}

.recipeDetail>p {
    font-size: 1.25rem;
    color: #cacaca;
    padding: 1rem;
    line-height: 2rem;
    background-color: #1e2835;
    border-radius: 15px;
}

#recipe-details {
    background-color: #1e2835;
    border-radius: 15px;
    display: flex  ;
    flex-direction: column;
    padding: 0 1rem;

}

#recipe-details>div {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 2px #10161d;
}

#recipe-details>div:last-child {
    border: none;
}

#recipe-details>div p {
    margin: 15px 0px;
    color: white;
    font-size: 1.2rem;
}

.recipeDetail .recipe-image {
    display: none;
}

.recipeDetail .recipeImage {
    width: 250px;
    height: 250px;
    margin-left: auto;
    margin-right: auto;
    background-position: center;
    border-radius: 500px;
    background-size: cover;
    margin-bottom: 2rem;
}