:host {
  display: flex;
  padding: 12px;
  box-shadow: var(--shadow--small, 0 0 16px rgba(0, 38, 111, 0.07));
  border-radius: var(--border--radius-medium, 6px);
  height: var(--snk-form-config-container-height);
  flex-direction: column;
}

.layout-container {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  overflow: auto;
  height: calc(100vh - 225px);
}

.guide-header {
  display: flex;
  width: 100%;
  font-size: 20px;
  border-bottom: 1px solid #dce0e8;
  margin-bottom: 6px;
  align-items: center;
  height: 45px;
}

.guide-header ez-button {
  transition: all 0.2s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.guide-header:hover ez-button {
  visibility: visible;
  opacity: 1;
}

.guide-header-label {
  display: block;
  padding: 10px 0;
}

.group-config {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.group-content {
  display: grid;
  gap: 12px;
  min-height: 65px;
  width: 100%;
  padding: 6px 0;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.group-content.empty-content {
  position: relative;
}

.group-content.empty-content::before {
  content: var(--empty-content-message, "Arraste e solte um campo aqui");
  color: #cbcfd7;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s;
  height: 100%;
  box-sizing: border-box;
  padding: 10px;
  background: #f9f9f9;
  border: 1px dashed #dce0e8;
  border-radius: 6px;
}

.no-group-container {
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid #dce0e8;
}

.no-group-container::before {
  content: var(--no-group-message, "Inclua estes campos nos grupos ou deixe-os separados no topo do formulário");
  width: 100%;
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #AFB6C0;
  padding-bottom: 12px;
}

.add-group-container {
  display: flex;
  align-items: center;
  border-top: 1px solid #dce0e8;
  padding-top: 22px;
  padding-bottom: 12px;
  gap: 6px;
  cursor: pointer;
  justify-content: center;
  width: 100%;
  height: 55px;
}

.no-guide-selected {
  display: block;
  margin: auto;
  font-size: 24px;
  color: #AFB6C0;
  font-weight: 500;
}

.message-container {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.message-config-detail {
  display: block;
  margin: auto;
  font-size: var(--font-size--medium, 16px);
  color: #AFB6C0;
  font-weight: var(--font-weight--medium, 500);
}

.ghost {
  opacity: .5;
  background: #c8fbe2;
}