.inventory-container{
    width: 90vw;
    height: 85vh;
    margin: 3rem auto;
    display: grid;
    grid-template-rows: repeat(10, 1fr);
    grid-template-columns: repeat(10, 1fr);
}

// Tabbar
.tab-row{
    display: flex;
    flex: 0 0 3rem;
    > *{
        flex: 1 1 0;
    }
    > :first-child{
      border-radius: 10px 0 0 0
    }
    > :last-child{
      border-radius: 0 10px 0 0
    }
}

.tab-button{
    height: 2.25rem;
    font-size: 1.375rem;
    font-weight: 600;
    color: black;
    border: solid 1px var(--border-color);
    transition: all 0.25s ease-in-out;
    background-color: var(--primary-color-light);

    &.active{
        height: 2.75rem;
        background-color: var(--primary-color);
    }
}

// Item container
.item-container{
    grid-area: 1 / 1 / 11 / 7;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background-color: var(--field-background-color);
    box-shadow: var(--shadow-small);

    .heading-row{
      flex: 0 0 3rem;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      padding: 0 10px;;
    }

    .table-content{
      overflow: auto;
      flex: 0 0 calc(100% - 11rem);
    }

    .button-margin{
      margin: 1rem 0rem;
    }

    .heading{
      font-size: 1.5rem;
      font-weight: 600;
      padding-left: 2rem;
    }


    .item{
      font-size: 1.25rem;
      font-weight: 600;
      padding-left: 2rem;
    }
}

//  MONEY CONTAINER

.money-container{
    grid-area: 1 / 8 / 5 / 11;
     border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--field-background-color);
    box-shadow: var(--shadow-small);
}

.money-title{
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin: 1rem 0;
}

.money-row{
  display:flex;
}

.money-label{
  flex: 0 0 8rem;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.5rem;
}

.money-box{
  flex: 0 0 3rem;
  width: 3.5rem;
    height: 2rem;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    border-radius: 10px;
    background-color: white;
    box-shadow: var(--shadow-small);
}

.money-input{
  border: none;
    outline: none;
    text-align: center;
    background-color: transparent;

    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
        -webkit-appearance: none;
        appearance: none;
        margin: 0;
    }   
}

// Food Container

.food-container{
    grid-area: 6 / 8 / 11 / 11;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background-color: var(--field-background-color);
    box-shadow: var(--shadow-small);

    .heading-row{
      flex: 0 0 3rem;
      display: grid;
      grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
      padding: 0 10px;;
    }

    .heading{
      font-size: 1.375rem;
      font-weight: 600;
      padding-left: 1rem;
    }

    .table-content{
      overflow: auto;
      flex: 0 0 calc(100% - 8rem);
    }

    .example-box {
      grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    }

    .item{
      font-size: 1.25rem;
      font-weight: 600;
      padding-left: 1rem;
    }
}

// Drag and Drop
.example-list {
  max-width: 100%;
  border: solid 1px #ccc;
  min-height: 60px;
  display: block;
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

.example-box {
  padding: 10px 10px;
  border-bottom: solid 1px #ccc;
  color: rgba(0, 0, 0, 0.87);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  box-sizing: border-box;
  cursor: move;
  background: white;
}

.cdk-drag-preview {
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
              0 8px 10px 1px rgba(0, 0, 0, 0.14),
              0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.cdk-drag-placeholder {
  opacity: 0;
}

.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.example-box:last-child {
  border: none;
}

.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

