.titlecontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 21px;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fefefe;
  border-bottom: 1px solid #e5e5e5;
}

.buttfilter {
  font-family: var(--app-font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  margin: 0;
  color: #333333;
}

.icons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.action {
  display: flex;
  gap: 16px;
  align-items: center;
}

.save {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 40px;
  border-radius: 8px;
  background: #1EAE8A;
  cursor: pointer;
  transition: all 0.3s ease;

  mat-icon {
    color: #ffffff;
    font-size: 20px;
    width: 22px;
    height: 22px;
  }

  &:hover {
    background: #189b7a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(30, 174, 138, 0.3);
  }

  &:active { transform: translateY(0); }
}

.closeicon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;

  mat-icon {
    width: 27px;
    height: 27px;
    font-size: 27px;
    color: #666666;
  }

  &:hover {
    transform: scale(1.1);
    mat-icon { color: #333333; }
  }
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 21px 21px;
  box-sizing: border-box;

  & > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  & > div.full-row {
    grid-template-columns: 1fr;
  }

  .adjacentField {
    width: 100%;
    margin-right: 0;
    display: block;

    &.full {
      grid-column: 1 / -1;
    }
  }
}

.section-header {
  border-left: 3px solid var(--action-primary-default, #3b82f6);
  padding: 6px 10px;
  margin: 12px 0 8px;
  border-bottom: 1px solid var(--border-default, #e5e7eb);

  span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-tertiary, #6b7280);
    text-transform: uppercase;
  }
}

.checkbox-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 0;

  gb-checkbox {
    min-height: 40px;
    overflow: visible;
    white-space: normal;
  }
}
