import { css } from 'lit'

export default css`
  :host {
    display: block;
  }

  .auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .auth-header.centered {
    justify-content: center;
  }

  .auth-title {
    color: var(--md-sys-color-on-surface);

    font-family: var(--md-sys-typescale-label-large-font);
    font-weight: var(--md-sys-typescale-label-large-weight);
    font-size: var(--md-sys-typescale-label-large-size);
    letter-spacing: var(--md-sys-typescale-label-large-tracking);
    line-height: var(--md-sys-typescale-label-large-height);
  }

  .full-input {
    display: block;
  }

  .base-level {
    position: relative;
    z-index: 0;
  }

  .full-input:not(:last-child) {
    margin-bottom: 12px;
  }

  .full-input > ui-filled-text-field {
    width: 100%;
    max-width: var(--authorization-editor-max-width, 900);
  }

  .auth-info {
    margin: 20px 0 0 0;
    color: var(--md-sys-color-on-surface);

    font-family: var(--md-sys-typescale-body-small-font);
    font-weight: var(--md-sys-typescale-body-small-weight);
    font-size: var(--md-sys-typescale-body-small-size);
    letter-spacing: var(--md-sys-typescale-body-small-tracking);
    line-height: var(--md-sys-typescale-body-small-height);
  }

  ui-dropdown-list > ui-filled-text-field {
    cursor: default;
    user-select: none;
  }

  ui-filled-text-field[name='grantType'],
  ui-filled-text-field[name='deliveryMethod'] {
    width: 240px;
  }
`
