/* stylelint-disable scss/operator-no-unspaced */
/* stylelint-enable scss/operator-no-unspaced */
/* Breakpoint viewport sizes and media queries.

Breakpoints are defined as a map of (name: minimum width), order from small to large:
   (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)

 The map defined in the `$breakpoint` global variable is used as the `$breakpoints` argument by default.

 Name of the next breakpoint, or null for the last breakpoint.

  >> breakpoint-next(sm)
   md
  >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
   md
  >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
   md
*/
/* Minimum breakpoint width. Null for the smallest (first) breakpoint.
    >> ecl-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    576px
*/
/* Maximum breakpoint width. Null for the largest (last) breakpoint.
   The maximum value is calculated as the minimum of the next one less 0.1.

   >> ecl-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
   767px
*/
/* Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.
    Useful for making responsive utilities.

    >> infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    ""  (Returns a blank string)
    >> infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    "-sm"
*/
/**
 * Textarea component
 * @define text-area
 */
.ecl-text-area {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border: 1px solid #515560;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(9, 49, 142, 0.08) inset, 0 0 10px rgba(9, 49, 142, 0.04) inset, 0 4px 5px rgba(9, 49, 142, 0.04) inset, 0 -4px 4px rgba(9, 49, 142, 0.04) inset;
  box-sizing: border-box;
  color: #171a22;
  display: block;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  margin: 0;
  max-width: 100%;
  padding: calc(0.75rem - 1px) calc(1rem - 1px);
}
.ecl-text-area::-moz-placeholder {
  color: #a8aaaf;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  opacity: 1;
}
.ecl-text-area::placeholder {
  color: #a8aaaf;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  opacity: 1;
}
.ecl-text-area:hover {
  border-color: #515560;
  box-shadow: 0 3px 5px rgba(9, 49, 142, 0.04) inset, 0 0 18px rgba(9, 49, 142, 0.04) inset, 0 6px 10px rgba(9, 49, 142, 0.04) inset, 0 -4px 4px rgba(9, 49, 142, 0.04) inset;
}
.ecl-text-area:focus-visible, .ecl-text-area:active {
  border-color: #0e47cb;
  border-width: 2px;
  box-shadow: 0 3px 5px rgba(9, 49, 142, 0.04) inset, 0 0 18px rgba(9, 49, 142, 0.04) inset, 0 6px 10px rgba(9, 49, 142, 0.04) inset, 0 -4px 4px rgba(9, 49, 142, 0.04) inset;
  outline: none;
  padding: calc(0.75rem - 2px) calc(1rem - 2px);
}

.ecl-text-area--m {
  width: 100%;
}
@media (min-width: 768px) {
  .ecl-text-area--m {
    width: 50%;
  }
}
@media (min-width: 996px) {
  .ecl-text-area--m {
    width: 253px;
  }
}

.ecl-text-area--l {
  width: 100%;
}
@media (min-width: 996px) {
  .ecl-text-area--l {
    width: 443px;
  }
}

.ecl-text-area[disabled],
.ecl-text-area--disabled,
.ecl-text-area[readonly],
.ecl-text-area--readonly {
  background-color: #fff;
  border-color: rgba(81, 85, 96, 0.5);
  box-shadow: 0 2px 4px rgba(9, 49, 142, 0.08) inset, 0 0 10px rgba(9, 49, 142, 0.04) inset, 0 4px 5px rgba(9, 49, 142, 0.04) inset, 0 -4px 4px rgba(9, 49, 142, 0.04) inset;
  cursor: not-allowed;
}
.ecl-text-area[disabled]::-moz-placeholder, .ecl-text-area--disabled::-moz-placeholder, .ecl-text-area[readonly]::-moz-placeholder, .ecl-text-area--readonly::-moz-placeholder {
  color: rgba(168, 170, 175, 0.5);
}
.ecl-text-area[disabled]::placeholder,
.ecl-text-area--disabled::placeholder,
.ecl-text-area[readonly]::placeholder,
.ecl-text-area--readonly::placeholder {
  color: rgba(168, 170, 175, 0.5);
}
.ecl-text-area[disabled]:hover,
.ecl-text-area--disabled:hover,
.ecl-text-area[readonly]:hover,
.ecl-text-area--readonly:hover {
  border-color: rgba(81, 85, 96, 0.5);
  box-shadow: 0 2px 4px rgba(9, 49, 142, 0.08) inset, 0 0 10px rgba(9, 49, 142, 0.04) inset, 0 4px 5px rgba(9, 49, 142, 0.04) inset, 0 -4px 4px rgba(9, 49, 142, 0.04) inset;
}
.ecl-text-area[disabled]:focus, .ecl-text-area[disabled]:active,
.ecl-text-area--disabled:focus,
.ecl-text-area--disabled:active,
.ecl-text-area[readonly]:focus,
.ecl-text-area[readonly]:active,
.ecl-text-area--readonly:focus,
.ecl-text-area--readonly:active {
  border-color: rgba(81, 85, 96, 0.5);
  border-width: 1px;
  padding: calc(0.75rem - 1px) calc(1rem - 1px);
}

.ecl-text-area--invalid {
  border-color: #bf0036;
}
.ecl-text-area--invalid:hover {
  border-color: #ef0044;
}
.ecl-text-area--invalid:active, .ecl-text-area--invalid:focus-visible {
  border-color: #0e47cb;
}

.ecl-text-area.sc-ecl-textarea-eu {
  margin-top: 0.75rem;
}