import { css } from 'lit';
import typography from '../../styles/m3/typography.module.js';
export default [typography, css `
:host {
  display: block;
}

.content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content > * {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.panel-warning {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  color: var(--error-color, #FF7043);
}

.invalid-info {
  color: var(--error-color);
  margin-left: 12px;
}

.action-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.url-editor {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.send-button {
  white-space: nowrap;
}

.section-title {
  margin: 12px 0;
  
  font-family: var(--md-sys-typescale-title-large-font-family-name);
  font-style: var(--md-sys-typescale-title-large-font-family-style);
  font-weight: var(--md-sys-typescale-title-large-font-weight);
  font-size: var(--md-sys-typescale-title-large-font-size);
  letter-spacing: var(--md-sys-typescale-title-large-tracking);
  line-height: var(--md-sys-typescale-title-large-height);
  text-transform: var(--md-sys-typescale-title-large-text-transform);
  text-decoration: var(--md-sys-typescale-title-large-text-decoration);
}

.editor-section {
  margin: 8px 0;
}

:host([narrow]) .content {
  display: flex;
  flex-direction: columns;
}

:host([narrow]) api-url-editor {
  width: auto;
}

.url-label {
  margin: 8px 0;
  padding: 12px 8px;
  border-radius: 3px;

  background-color: var(--api-request-editor-readonly-url-background-color, rgba(0, 0, 0, 0.12));
  color: var(--api-request-editor-readonly-url-color, currentColor);
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
}

.params-editor {
  margin: 0 8px;
}

.authorization-selector {
  width: 100%;
}

.payload-mime-selector {
  display: flex;
  align-items: center;
}

.form-item {
  margin: 12px 0;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.array-form-item {
  padding-left: 8px;
}

.api-server-picker, .param-selector, .form-input {
  flex: 1 1 0%;
  margin: 0px;
}

.hide-optional .optional {
  display: none;
}

.custom-item .custom-name {
  margin-right: 4px;
}

.custom-item .custom-value {
  margin-left: 4px;
}

.url-input-wrapper {
  display: flex;
  margin: 16px 0;
}

.url-input {
  flex: 1;
  margin: 0;
}

.required-field {
  font-size: small;
  margin: var(--arc-font-required-field-margin, 2px 8px);
  color: var(--arc-font-required-field-color, inherit);
}

.dropdown-trigger {
  cursor: default;
  user-select: none;
  width: 100%;
}

.request-progress {
  width: 120px;
  margin-left: 12px;
}
`];
//# sourceMappingURL=ApiRequestEditor.styles.js.map