@import './reset.scss';
@import './carbon.scss';
@import './highlight.scss';
@import './quill.scss';
@import './table.scss';
@import './margin.scss';
@import './width.scss';
@import './input.scss';

:root {
  --c-primary: #1c5de7;
  --c-primary-hover: #537cd6;
  --c-secondary: #4b7ce6;
  --c-secondary-hover: #6cb0c5;
  --c-third: #a2b7e7;
  --c-third-hover: #aebbd8;
  --c-fourth: #333259;
  --c-fifth: #8c8474;

  --c-error: #d62121;
  --c-error-hover: #ee5b5b;
  --c-success: #24ca71;
  --c-success-hover: #44c580;

  --black-icon-invert: 0.8;
  --box-shadow-color: 0, 0, 0;

  --c-black: #202020;
  --c-light-black: #313131;

  --c-white: #ffffff;
  --c-placeholder: #e0e3e9;
  --c-neutral: #fafafb;
  --c-white-dark: #eeeeee;
  --c-white-normal: #f2f3f4;

  --c-gray: #afafaf;
  --c-gray-dark: #929292;
  --c-gray-cold: #919bae;
  --c-gray-cold-dark: #5b626f;
  --c-gray-lighter: #eff3f6;
  --c-gray-light: #d4d4d4;

  --c-transparent: #00000000;

  --c-primary-dark: #18202e;
  --c-primary-dark-hover: #232e41;
}

html,
body {
  /* position: relative; */
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  line-height: 1.4;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background-color: var(--c-neutral);
}

a {
  text-decoration: none;
}

label {
  display: block;
}

p {
  margin: 0;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input:disabled {
  color: #ccc;
}

input[type='range'] {
  height: 0;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

.no-padding {
  padding: 0;
}

.overflow-menu-link a {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.125rem;
  letter-spacing: 0.16px;
  outline: 2px solid transparent;
  outline-offset: -2px;
  font-weight: 400;
  width: 100%;
  height: 100%;
  border: none;
  display: -webkit-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  background-color: transparent;
  text-align: left;
  padding: 0 1rem;
  cursor: pointer;
  color: #393939;
  max-width: 11.25rem;
  -webkit-transition: outline 110ms cubic-bezier(0, 0, 0.38, 0.9),
    background-color 110ms cubic-bezier(0, 0, 0.38, 0.9),
    color 110ms cubic-bezier(0, 0, 0.38, 0.9);
  transition: outline 110ms cubic-bezier(0, 0, 0.38, 0.9),
    background-color 110ms cubic-bezier(0, 0, 0.38, 0.9),
    color 110ms cubic-bezier(0, 0, 0.38, 0.9);
}

.label-text {
  font-size: 10pt;
}

.helper-text {
  font-size: 10pt;
  color: var(--c-gray-dark);
}

.invalid-text {
  color: var(--c-error);
  font-size: 10pt;
  display: flex;
}

.invalid-text .icon {
  font-size: 8pt;
  margin: 4px 10px 0 0;
}
