import { Box, Typography } from "@mui/material";
import styled from "styled-components";
import selectedTheme from "../../../../themes";
import { PrimaryButton } from "../../../Buttons/PrimaryButton/PrimaryButton";
import { Label } from "../../../CheckBox/Label";
import Option from "../../../Select/Option/Option";
import { TextField } from "../../../TextFields/TextField/TextField";

export const CreateOfferTitle = styled(Typography)`
  font-family: "Open Sans";
  width: 328px;
  height: 33px;
  text-align: center;
  flex: 1;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 33px;
  color: ${selectedTheme.primaryPurple};
  margin-top: 36px;
  margin-bottom: 40px;
  position: relative;
`;
export const CreateOfferDescription = styled(Typography)`
  font-family: "Open Sans";
  margin-top: 9px;
  width: 221px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  display: flex;
  align-items: center;
  text-align: center;
  color: ${selectedTheme.primaryGrayText};
  margin-bottom: 18px;
`;
export const CreateOfferFormContainer = styled(Box)`
  width: 335px;
  padding: 20px 0 35px 0;
`;
export const FieldLabel = styled(Label)`
  position: relative;
  bottom: -14px;
  & label {
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    color: ${selectedTheme.primaryGrayText};
    cursor: auto;
    letter-spacing: 0.2px;
  }
  @media (max-width: 600px) {
    & label {
      font-size: 9px;
    }
  }
`;
export const DescriptionField = styled(TextField)`
  margin-bottom: 4px;
  @media (max-width: 600px) {
    margin-bottom: 0;
    & div div input {
      font-size: 12px !important;
    }
    & div {
      height: 40px;
    }
  }
`;
export const TitleField = styled(TextField)`
  @media (max-width: 600px) {
    margin-bottom: 0;
    & div div input {
      font-size: 12px !important;
    }
    & div {
      height: 40px;
    }
  }
`;
export const NextButton = styled(PrimaryButton)`
  margin-top: 16px;
  width: 100%;

  @media (min-width: 601px) {
    margin-bottom: 18px;
  }

  @media screen and (max-width: 600px) {
    position: absolute;
    bottom: 18px;
    height: 44px;
    width: calc(100% - 18px);
    left: 9px;
    & button {
      height: 44px;
    }
  }
`;
export const SelectOption = styled(Option)`
  height: 40px !important;
  min-height: 40px;
  max-height: 40px;
`
