
.authentication {
  max-width: 480px;
  margin: auto;
  padding: 24px;
}

.authentication h2,
.authentication h3 {
  text-align: center;
  font-weight: 400;
}

.authentication form {
  margin-top: 48px;
}

.authentication form input[type=text],
.authentication form input[type=email],
.authentication form input[type=password],
.authentication form input[type=submit] {
  width: 100%;
}

.authentication .alternative-actions {
  text-align: center;
}


form input[type=text],
form input[type=email],
form input[type=password] {
  background-color: #FCFBF7;
  font-family: inherit;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #908584;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 16px;
}

form .field,
form .actions {
  margin-bottom: 36px;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

form input[type=submit] {
  background-color: #F27E74;
  color: #F7F5EF;
  font-size: 16px;
  border: none;
  border-radius: 3px;
  padding: 16px 32px;
}


@media screen and (max-width: 1200px) {
  .user-home-nav {
    z-index: 100;
    position: fixed;
    bottom: 0;
    height: 64px;
    width: 100%;
    border-top: 1px solid rgba(153, 153, 153, 0.3);
    background-color: #F7F5EF;
  }

  .user-home-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
  }

  .user-home-nav ul li {
    flex: 1;
  }

  .user-home-nav ul li a {
    text-decoration: none;
    color: #2F1A1F;
    display: block;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
  }

  .user-home-nav ul li.active a {
    color: #F27E74;
  }

  .user-home-nav ul li a span.menu-icon {
    display: block;
    margin: auto;
  }

  .user-home-nav ul li a span.menu-title {
    font-size: 12px;
  }
}

@media screen and (min-width: 1200px) {
  .user-home-nav {
    width: 220px;
  }

  .user-home-nav ul {
    list-style-type: none;
    margin: 0;
    padding-left: 24px;
    float: left;
  }

  .user-home-nav ul li {
    border-top: 1px solid rgba(153, 153, 153, 0.3);
    padding: 12px 0;
    display: block;
    width: 220px;
  }

  .user-home-nav ul li:first-child {
    border-top: 0;
  }

  .user-home-nav ul li a {
    text-decoration: none;
    color: #2F1A1F;
    display: block;
    width: 196px;
    padding: 12px;
    border-radius: 5px;
  }

  .user-home-nav ul li.active a {
    color: #F7F5EF;
    background-color: #F27E74;
    box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.42), 0 3px 20px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  }

  .user-home-nav ul li a:hover {
    background-color: rgba(200, 200, 200, 0.2);
  }

  .user-home-nav ul li.active a:hover {
    background-color: #F27E74;
  }

  .user-home-nav ul li a span {
    vertical-align: middle;
  }

  .user-home-nav ul li a span.menu-icon {
    margin-right: 8px;
  }
}

@media screen and (min-width: 700px) {
  .user-home {
    padding-left: 268px;
  }
}

.user-home {
  max-width: 640px;
  margin: auto;
  padding: 24px;
  padding-bottom: 72px;
}

.user-home h2,
.user-home h3 {
  text-align: center;
  font-weight: 400;
}

.user-home form {
  margin-top: 48px;
}

.user-home .shopping-list h4 {
  font-weight: 400;
  margin-bottom: 4px;
}

.user-home .shopping-list h5 {
  font-weight: 400;
  margin-top: 4px;
}

.user-home .shopping-list table {
  width: 100%;
  border-collapse: collapse;
}

.user-home .shopping-list table tr {
  height: 51px;
}

.user-home .shopping-list table td {
  padding: 6px 0;
  border-top: 1px solid rgba(153, 153, 153, 0.3);
}

.user-home .shopping-list table tr:first-child td {
  border-top: 0;
}

.user-home .shopping-list table td.ingredient-quantity span {
  display: block;
  text-align: right;
}



.new-meal-plan {
  max-width: 640px;
  margin: auto;
  padding: 24px;
}

.new-meal-plan h2,
.new-meal-plan h3 {
  text-align: center;
  font-weight: 400;
}

.new-meal-plan form {
  margin-top: 48px;
}

.new-meal-plan form input[type=number] {
  box-sizing: border-box;
  margin-bottom: 48px;
  width: 100%;
  padding: 12px;
}

.new-meal-plan form div.input-number-checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.new-meal-plan form div.input-number-checkbox input[type=radio] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.new-meal-plan form div.input-number-checkbox input[type=radio] + label {
  border: 1px solid rgba(153, 153, 153, 0.3);
  border-radius: 5px;
  padding: 24px 24px;
}

.new-meal-plan form div.input-number-checkbox input[type=radio] + label:hover {
  background-color: rgba(200, 200, 200, 0.2);
}

.new-meal-plan form div.input-number-checkbox input[type=radio]:checked + label {
  color: #F7F5EF;
  background-color: #F27E74;
}

.new-meal-plan .submit {
  width: 100%;
}


header.navbar {
  height: 64px;
  background-color: #2F1A1F;
}


body:has(.recipe-card-expanded-overlay):has(.recipe.expanded) {
  overflow: hidden;
}

.recipe-cards-list .recipe-card-expanded-overlay {
  display: none;
}

.recipe-cards-list:has(.recipe.expanded) .recipe-card-expanded-overlay {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.3);
}

.recipe-cards-list {
  margin-bottom: 0;
}

.recipe-cards-list:has(.recipe.expanded) {
  margin-bottom: 100vh;
}

.recipe-cards-list .recipe {
  position: relative;
  max-width: 640px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 36px;
  background-color: #F7F5EF;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.56), 0 2px 12px 0px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  scroll-margin-top: 36px;
}

.recipe-cards-list .recipe .recipe-summary {
  height: 120px;
}

.recipe-cards-list .recipe .recipe-image {
  width: 120px;
  height: 120px;
}

.recipe-cards-list .recipe .recipe-description {
  margin: 12px 12px 12px 132px;
  position: absolute;
  top: 0;
}

.recipe-cards-list .recipe .recipe-name {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 12px;
  color: #2F1A1F;
}

.recipe-cards-list .recipe.expanded {
  z-index: 95;
  max-height: 500px;
  transition: max-height 0.25s ease-in;
}

.recipe-cards-list .recipe .recipe-time {
  font-size: 14px;
  font-weight: 300;
}

.recipe-cards-list .recipe .recipe-time .material-symbols-outlined {
  width: 18px;
}

.recipe-cards-list .recipe .recipe-time span {
  line-height: 18px;
  vertical-align: middle;
}

.recipe-cards-list .recipe .recipe-expand-block {
  max-height: 0;
  transition: max-height 0.25s ease-out;
}

.recipe-cards-list .recipe .recipe-expanded-description {
  padding: 12px;
  color: #2F1A1F;
  font-size: 14px;
  border-top: 1px solid rgba(153, 153, 153, 0.3);
}

.recipe-cards-list .recipe.expanded .recipe-expand-block {
  max-height: 500px;
  transition: max-height 0.25s ease-in;
}

.recipe-cards-list .recipe .bottom-actions {
  display: flex;
  padding: 12px;
}

.recipe-cards-list .recipe .recipe-actions {
  flex: 1 0 auto;
}

.recipe-cards-list .recipe .recipe-link {
  flex: 1 0 auto;
  text-align: right;
}

.recipe-cards-list .recipe .recipe-actions button,
.recipe-cards-list .recipe .recipe-link a.button {
  display: inline-block;
  font-size: 14px;
  padding: 6px 12px 6px 6px;
  text-decoration: none;
  border: 0px;
  border-radius: 3px;
  background-color: #908584;
  color: #F7F5EF;
}

.recipe-cards-list .recipe .recipe-actions button span,
.recipe-cards-list .recipe .recipe-link a.button span {
  vertical-align: middle;
}

.recipe-cards-list .recipe .recipe-actions .action-discard {
  background-color: #f44336;
}

.recipe-cards-list .recipe .recipe-actions .action-mark-done {
  background-color: #7ea05b;
}

.recipe-cards-list .recipe.disabled {
  color: grey;
}

.recipe-cards-list .recipe.disabled .recipe-image {
  filter: grayscale(1);
}

.recipe-cards-list .recipe.disabled .recipe-name,
.recipe-cards-list .recipe.disabled .recipe-time,
.recipe-cards-list .recipe.disabled .recipe-time span {
  text-decoration: line-through;
}

.tag-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.tag-checkboxes input[type="checkbox"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.tag-checkboxes label {
  border: 1px solid rgba(153, 153, 153, 0.3);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}

.tag-checkboxes label:hover {
  background: rgba(200, 200, 200, 0.2);
}

.tag-checkboxes input[type="checkbox"]:checked + label {
  background-color: #F27E74;
  color: #F7F5EF;
  border-color: #F27E74;
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

html, body {
  border: 0;
  margin: 0;
  padding: 0;
  background-color: #F7F5EF;
  color: #2F1A1F;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

main {
  padding-bottom: 64px;
}
