.metadata-settings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.setting-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;

  &:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 1rem;
  }
}

.setting-info {
  flex: 1;
  min-width: 0;

  .setting-label {
    display: block;
    font-weight: 600;
    color: var(--p-text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .setting-description {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--p-text-muted-color);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;

    .pi {
      margin-top: 0.125rem;
      flex-shrink: 0;
      color: var(--p-primary-color);
    }
  }
}

.providers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.provider-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.provider-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  .provider-label {
    font-weight: 500;
    color: var(--p-text-color);
  }
}

.provider-config {
  margin-top: 1rem;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  @media (max-width: 768px) {
    padding-left: 0;
  }
}

.config-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  .config-label {
    font-weight: 500;
    color: var(--p-text-color);
    font-size: 0.875rem;
  }

  .config-label-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    .config-label {
      margin: 0;
    }
  }

  .config-description {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--p-text-muted-color);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;

    .pi {
      margin-top: 0.125rem;
      flex-shrink: 0;
      color: var(--p-primary-color);
    }
  }

  .config-select {
    width: 100%;
    max-width: 13rem;
  }
}

.setting-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 1rem;
}
