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

export const FirstStepCreateReviewContainer = styled(Box)`
  text-align: center;
  padding: 36px;
  @media (max-width: 600px) {
    padding: 18px;
  }
`;
export const CreateReviewTitle = styled(Typography)`
  width: 100%;
  text-align: center;
  color: ${selectedTheme.primaryPurple};
  font-family: "Open Sans";
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 36px;
  @media (max-width: 600px) {
    font-size: 18px;
    padding-bottom: 24px;
  }
`;
export const ProfileImageContainer = styled(Box)`
  width: 108px;
  height: 108px;
  overflow: hidden;
  border-radius: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
`;
export const ProfileImage = styled.img`
  width: 108px;
  height: 108px;
  overflow: hidden;
  border-radius: 100%;
`;
export const ProfileName = styled(CreateReviewTitle)`
  padding-top: 0;
  padding-bottom: 14px;
`;
export const FieldLabel = styled(Label)`
  position: relative;
  bottom: -14px;
  width: 100%;
  & label {
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    color: ${selectedTheme.primaryGrayText};
    cursor: auto;
    letter-spacing: 0.2px;
    text-align: left;
  }
  @media (max-width: 600px) {
    & label {
      font-size: 10px;
    }
  }
`;
export const SelectField = styled(Select)`
  position: relative;
  top: 15px;
  margin-bottom: 18px;
  height: 48px;
  text-align: left;
  @media (max-width: 600px) {
    height: 33px;
    font-size: 14px;
    margin-bottom: 12px;
  }
`;
export const SelectOption = styled(Option)`
  font-family: "Open Sans";
  font-size: 16px;
  text-align: left;
  @media (max-width: 600px) {
    font-size: 12px;
    height: 35px !important;
    min-height: 35px;
  }
`;
export const CommentField = styled(TextField)`
  & * {
    font-family: "Open Sans";
    font-size: 16px;
    &::-webkit-scrollbar {
      width: 5px;
    }
    &::-webkit-scrollbar-track {
      background: #ddd;
    }
    &::-webkit-scrollbar-thumb {
      background: #777;
    }
    scrollbar-width: thin;
    scrollbar-color: #ddd;
    @media (max-width: 600px) {
      & * {
        font-size: 12px !important;
        /* line-height: 16px; */
      }
      & div {
        padding: 4px !important;
        padding-left: 8px !important;
      }
    }
  }
`;
