/*=============== IMPORT ABSTRACTS SCSS DIRECTORY ===============*/
/*=============== BASE ===============*/
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans&family=Raleway&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0; }

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  background-image: url("/images/marktzicht-login.jpg");
  background-size: cover; }

ul {
  list-style: none;
  margin-bottom: 0 !important; }

img {
  max-width: 100%;
  height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto; }

/*=============== IMPORT BASE SCSS DIRECTORY ===============*/
/*=============== IMPORT COMPONENTS SCSS DIRECTORY ===============*/
/*=============== ALERTS ===============*/
.alert {
  width: 40%;
  height: 50px;
  background-color: #fafafa;
  border: 1px solid #47ae74;
  text-align: center;
  z-index: 10;
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 2rem auto;
  gap: 2rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; }
  .alert-error {
    border: 1px solid #b05150; }
    .alert-error i {
      background-color: #b05150 !important; }
  .alert i {
    width: 100px;
    height: 100%;
    background-color: #47ae74;
    align-self: center;
    font-size: 3rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center; }
  .alert p {
    font-family: 'Nunito Sans';
    font-size: 1.75rem; }

/*=============== IMPORT LAYOUTS SCSS DIRECTORY ===============*/
/*=============== NAVBAR ===============*/
.navbar {
  width: 100%;
  background-color: #a9a066;
  margin-top: 2rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 1rem 0; }
  @media screen and (max-width: 1280px) {
    .navbar {
      padding: 1rem 2rem; } }
  .navbar .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between; }
  .navbar__img {
    width: 15rem; }
  .navbar a {
    text-decoration: none; }
  .navbar__logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.6rem;
    font-family: 'Nunito Sans';
    cursor: pointer;
    background-color: #fafafa;
    color: #000;
    border: none;
    color: none;
    border-radius: 0.4rem;
    padding: 8px 16px; }
    .navbar__logout:hover .bx {
      transform: translateX(10%);
      transition: 0.4s; }
    .navbar__logout .bx {
      font-size: 2rem;
      transition: 0.4s; }

/*=============== IMPORT PAGES SCSS DIRECTORY ===============*/
/*=============== LOGIN ===============*/
.login {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center; }
  .login__block {
    width: 40rem;
    height: 40rem;
    background-color: #fafafa;
    border-radius: 0.8rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem; }
    .login__block-img {
      width: 20rem; }
    .login__block-form {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      width: 100%; }
    .login__block-container {
      position: relative; }
    .login__block-input {
      width: 100%;
      height: 5rem;
      border-radius: 0.8rem;
      border: none;
      box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
      padding-left: 2rem;
      font-size: 1.6rem;
      font-family: 'Nunito sans'; }
      .login__block-input:focus-visible {
        border: 1px solid #000; }
    .login__block .floating-label {
      position: absolute;
      pointer-events: none;
      font-size: 1.3rem;
      left: 20px;
      top: 16px;
      transition: 0.2s ease all;
      font-family: 'Nunito sans'; }
    .login__block-button {
      background-color: #473c8c;
      color: #fafafa;
      border: none;
      color: none;
      border-radius: 0.4rem;
      padding: 16px 28px; }

.login__block-input:focus ~ .floating-label,
.login__block-input:not(:focus):valid ~ .floating-label {
  top: -15px;
  bottom: 10px;
  left: 10px;
  font-size: 1rem;
  opacity: 1; }

/*=============== DASHBOARD ===============*/
.dashboard__tabs {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #18181866;
  font-family: 'Nunito Sans';
  font-size: 1.6rem;
  width: 1200px;
  margin: 2rem auto; }
  @media screen and (max-width: 1280px) {
    .dashboard__tabs {
      width: 800px; } }
  .dashboard__tabs a {
    color: #000;
    text-decoration: none;
    width: 100%; }
  .dashboard__tabs-tab {
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: 0.4s; }
    .dashboard__tabs-tab.active {
      background-color: #fafafa; }
    .dashboard__tabs-tab:hover {
      background-color: #fafafa; }

.dashboard__content {
  width: 1200px;
  height: auto;
  margin: 2rem auto;
  background-color: #f2f1e8;
  border-radius: 0.4rem;
  padding: 4rem;
  font-family: 'Nunito Sans'; }
  @media screen and (max-width: 1280px) {
    .dashboard__content {
      width: 800px; } }
  .dashboard__content-edit {
    background-color: #fff !important;
    align-self: end; }
  .dashboard__content h1 {
    font-size: 3rem; }
  .dashboard__content .category-title {
    font-family: 'Raleway';
    margin-bottom: 3rem; }
  .dashboard__content-button {
    background-color: #473c8c;
    color: #fafafa;
    border: none;
    color: none;
    border-radius: 0.4rem;
    padding: 2px 8px;
    cursor: pointer;
    height: 30px;
    align-self: end; }
  .dashboard__content .create {
    margin-bottom: 5rem; }
  .dashboard__content .create-order {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 4rem; }
  .dashboard__content .actions {
    display: flex;
    gap: 2rem; }
    .dashboard__content .actions a {
      color: #000; }
    .dashboard__content .actions__edit {
      font-size: 1.75rem;
      transition: 0.2s; }
      .dashboard__content .actions__edit-category {
        font-size: 1.75rem;
        color: #000; }
        .dashboard__content .actions__edit-category:hover {
          color: #a9a066; }
      .dashboard__content .actions__edit:hover {
        color: #a9a066; }
    .dashboard__content .actions button {
      border: none;
      background-color: transparent;
      cursor: pointer; }
    .dashboard__content .actions__delete {
      font-size: 1.75rem;
      transition: 0.2s; }
      .dashboard__content .actions__delete:hover {
        color: red !important; }
  .dashboard__content .add {
    position: relative;
    width: 92%;
    margin-top: 3rem; }
    @media screen and (max-width: 1280px) {
      .dashboard__content .add {
        width: 100%; } }
    .dashboard__content .add .product-new {
      border: 0.1px solid rgba(162, 162, 162, 0.377); }
      .dashboard__content .add .product-new__icon {
        position: absolute;
        right: -10px;
        top: -10px;
        font-size: 2rem;
        color: #686868; }
  .dashboard__content .product-list {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    margin-bottom: 2rem; }
    .dashboard__content .product-list .display-mode {
      display: flex;
      align-items: center; }
    .dashboard__content .product-list__text {
      width: 80%;
      display: flex;
      flex-direction: column;
      gap: 1rem; }
    .dashboard__content .product-list__name {
      font-size: 1.6rem;
      width: 270px; }
    .dashboard__content .product-list__subtitle {
      font-size: 1.2rem;
      color: #565656;
      width: 370px; }
    .dashboard__content .product-list__price1 {
      width: 100px;
      font-size: 1.3rem; }
    .dashboard__content .product-list__price2 {
      width: 100px;
      font-size: 1.3rem; }
  .dashboard__content .edit-form {
    display: flex;
    gap: 2rem;
    align-items: end; }
    .dashboard__content .edit-form button {
      height: 2rem;
      background: #fff;
      border: none;
      padding: 0 2rem;
      transition: 0.2s;
      cursor: pointer; }
      .dashboard__content .edit-form button:hover {
        opacity: 0.7; }
  .dashboard__content .category-block {
    width: 80%;
    display: flex;
    gap: 2rem; }
    .dashboard__content .category-block .display-mode {
      display: flex;
      align-items: center; }
    .dashboard__content .category-block form button {
      background-color: transparent;
      border: none;
      cursor: pointer; }
  .dashboard__content .create-category__block {
    display: flex;
    gap: 2rem; }

[data-tab-content] {
  display: none; }

.active[data-tab-content] {
  display: block; }

.form__group {
  position: relative;
  padding: 15px 0 0;
  margin-top: 10px;
  width: 30%; }
  .form__group.edit-category {
    width: 200px; }
  .form__group.medium {
    width: 20%; }
  .form__group.small {
    width: 100px; }

.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 1px solid grey;
  outline: 0;
  font-size: 1.3rem;
  color: #000;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s; }
  .form__field::placeholder {
    color: transparent; }
  .form__field:placeholder-shown ~ .form__label {
    font-size: 1.3rem;
    cursor: text;
    top: 20px;
    z-index: -1; }

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #473c8c; }

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 2px;
  border-color: #a9a066;
  border-image-slice: 1; }
  .form__field:focus ~ .form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #a9a066;
    font-weight: 500; }

/* reset input */
.form__field:required, .form__field:invalid {
  box-shadow: none; }
