body {
  font-family: sans-serif;
  margin: 0;

  /* Utility classes */
  .bg-close {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
  }
  .small-text {
    font-size: 0.7em;
    opacity: 0.6;
  }

  /* Styling classes */
  .main-wrap {
    display: grid;
    grid-template-rows: auto 1fr;
    position: fixed;
    inset: 0;
  }
  .scroll-wrap {
    height: 100%;
    overflow-y: auto;
  }
  #header {
    padding: 5px;
    background-color: #fbd55d;

    .title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 20px;
    }
    .filter {
      display: grid;
      input {
        padding: 10px;
      }
    }
  }
  .modal {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 20px;

    .data-wrap {
      max-height: 80vh;
      overflow-y: auto;
      margin: 10px;
      .details {
        dt {
          background-color: rgba(0, 0, 0, 0.1);
          padding: 5px 5px 3px;
          border-radius: 5px;
        }
        dd {
          margin: 10px 0;
          display: grid;
          grid-template-columns: 1fr 1fr;
          align-items: center;

          button {
            padding: 10px 0;
          }
          .action-wrap {
            display: grid;
            grid-template-columns: 1fr 1fr;
          }
          &.full-width {
            grid-template-columns: 100%;
          }
          &.notes-window {
            line-height: 1.4;
          }
        }
      }
    }
    .data-edit-wrap {
      display: grid;
      row-gap: 10px;
      margin-top: 30px;

      label {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        align-items: center;
        column-gap: 10px;
      }
    }

    button.close {
      position: absolute;
      right: 20px;
      bottom: 20px;
    }
    button.edit {
      position: absolute;
      top: 20px;
      right: 20px;
    }
  }

  .grid-section {
    overflow-y: auto;
    padding-bottom: 150px;
    .main-grid {
      display: grid;

      .entry-single-button {
        font-size: 16px;
        width: 100%;
        padding: 20px 0;
      }
    }
    .add-entry,
    .export {
      position: fixed;
      right: 20px;
      bottom: 20px;
      width: 50px;
      aspect-ratio: 1;
    }
    .export {
      right: initial;
      left: 20px;
      width: 75px;
    }

    .detail-wrap {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}
