:host {
  display: block;
  width: 100%;
}

.custom-option-layout {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 2px;
  width: 100%;
  text-align: left;

  .option-main-icon,
  .menu-icon-emoji {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: center;
    align-self: center;
    margin: 0 !important;
  }

  .menu-icon-emoji {
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  .option-title {
    grid-column: 2;
    grid-row: 1;
    font-weight: 500;
    line-height: 1.3;
  }

  .folder-subtitle {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    opacity: 0.5;
    line-height: 1.2;
    font-weight: normal;
    font-family: monospace;
  }

  &.has-checkbox {
    grid-template-columns: 24px 24px 1fr;
    column-gap: 12px;

    .check-ico {
      grid-column: 1;
      grid-row: 1 / span 2;
      align-self: center;
      margin: 0 !important;
    }

    .option-main-icon,
    .menu-icon-emoji {
      grid-column: 2;
      grid-row: 1 / span 2;
      justify-self: center;
      align-self: center;
      margin: 0 !important;
    }

    .option-title {
      grid-column: 3;
      grid-row: 1;
    }

    .folder-subtitle {
      grid-column: 3;
      grid-row: 2;
    }
  }
}
