import styled from "styled-components";
export const Field = styled.div `
  font-family: "Geometria", "Verdana", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: -0.02em;
  color: #233445;
  position: relative;
  justify-content: space-between;
  border-bottom: 1px solid #e4e8ed;
  gap: 4px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 24px;
  padding-right: 24px;
  transition: 200ms ease-out;
  height: 88px;
  .row,
  .space-between {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    align-items: center;
  }
  .space-between {
    justify-content: space-between;
    p {
      font-weight: 700;
    }
  }
  .icon,
  .icon img,
  .icon svg {
    width: 36px;
    height: 36px;
    object-fit: contain;
    object-position: center;
  }
  .field-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    font-family: "Geometria";
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
    color: #233445;
  }
  .arrow {
    border: 0;
    outline: 0;
    background-color: transparent;
    margin-left: auto;
    transition: 200ms ease-out;
    cursor: pointer;
    padding: 4px;
  }
  .modal-form-input,
  .modal-form-input input,
  p {
    letter-spacing: -0.02em;
    font-size: 20px;
    font-weight: 700;
    font-family: "Geometria", "Verdana", sans-serif;
    border: 0;
    outline: 0;
    font-weight: 700;
    color: inherit;
    background: transparent;
  }
  .subtitle {
    color: #535e69;
    font-size: 14px;
    transition: 200ms ease-out;
    line-height: 20px;
  }
  &.darken {
    background: #f9fafb;
  }
  ${(props) => props.warn
    ? `
  border-left: 4px solid
    ${props.theme.new?.palette?.error.normal ?? "#FE6666"};

  .subtitle {
    color: ${props.theme.new?.palette?.error.normal ?? "#FE6666"};
  }  `
    : ""}
  ${(props) => props.info
    ? `
      border-left: 3px solid
    ${props.theme.new?.palette?.accent.dark ?? "#1F74D1"};


      .subtitle {
        color: ${props.theme.new?.palette?.error.normal ?? "#FE6666"};
      }
      `
    : ""}
  ${(props) => props.notEditable
    ? `
      background: #F5F7F9;
      `
    : ""}
  ${(props) => props.disabled
    ? `
      .modal-form-input,
      .modal-form-input input {
        color: #CFDAE7; 
        pointer-events: none;
      }
      .arrow {
        pointer-events: none;
      }
      `
    : ""}

  ${(props) => props.focus
    ? `
      background: #FCFDFF;
      `
    : ""}
  ${(props) => props.placeholding
    ? `
      color: #919CA7;
      `
    : ""}
  ${(props) => props.mobile
    ? `
      font-size: 14px;
      padding: 10px 16px;
      .modal-form-input,
      .modal-form-input input {
        font-size: 14px;
      }
      .subtitle {
        font-size: 12px;
      }
      .icon,
      .icon img,
      .icon svg {
        width: 26px;
        height: 26px;
      }
      .arrow {
        width: 18px;
        height: 18px;
        padding: 0;
      }
      `
    : ""}
`;
//# sourceMappingURL=field.js.map