/* Selected icons section */
.admin-icons-selected-section {
  margin-bottom: 24px;
  padding: 16px 20px 20px;
  border: 2px solid #0d6efd;
  border-radius: 8px;
  background-color: #f0f7ff;
}

.admin-icons-selected-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.admin-icons-selected-heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0d6efd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-icons-selected-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #0d6efd;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.admin-icons-selected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
}

/* Toolbar: heading + controls row */
.admin-icons-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.admin-icons-toolbar h3 {
  margin: 0;
  white-space: nowrap;
}

.admin-icons-toolbar__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-icons-toolbar__controls .form-item {
  margin-top: 0;
  margin-bottom: 0;
}

.admin-icons-toolbar__controls #admin-icons-search {
  width: 200px;
}

.admin-icons-toolbar__controls #admin-icons-page-size {
  width: auto;
  min-width: 80px;
}

/* Icon grid container */
#iconography-selection-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* Each checkbox wrapper */
.admin-icon-checkbox {
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

/* Checkbox input */
.admin-icon-checkbox input[type="checkbox"] {
  margin-bottom: 8px;
  margin-inline-start: 0;
}

/* Icon block */
.admin-icon-checkbox .d-flex {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 8px;
  width: 100px;
}

/* SVG inside icon */
.admin-icon-checkbox svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin: 0 auto;
}

/* Icon name badge */
.admin-icon-checkbox span.badge {
  font-size: 12px;
  padding: 4px 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Extra: Style for Select Icons details */
.bootstrap-ui-kit-icons-details {
  margin-top: 20px;
}
