import styled from "styled-components";

export const ModalCardContainer = styled.div`
  /* padding: 25px; */
  font-family: "Nunito";
  width: 100%;
  max-width: 720px;
`;

export const CloseModalButton = styled.div`
  background-color: rgba(255, 255, 255, 1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-family: "Nunito";
  border-radius: 50%;
  margin-bottom: 8px;
  margin-left: auto;
`;

export const CardContainer = styled.div`
  background-color: rgba(255, 255, 255, 1);
  padding: 25px;
  font-family: "Nunito";
  width: 100%;
  max-width: 700px;
  border-radius: 30px;
`;

export const CardHeader = styled.div`
  width: 100%;
  text-align: center;

  h1 {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
  }

  h6 {
    color: #313333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 65px;
  }
`;

export const CardBody = styled.div`
  width: 100%;
  display: flex;
  margin: 20px auto 10px;
  justify-content: center;

  .tooltip-styles {
    color: #4a4d4d;
    background-color: #ffffff;
    opacity: 1;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
      rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  }

  /* .ReactModal__Overlay.ReactModal__Overlay--after-open {
    background-color: rgba(0, 0, 0, 0.45);
  } */

  .slider-styles {
    .rc-slider-rail,
    .rc-slider-track,
    .rc-slider-step {
      height: 10px;
    }

    .rc-slider-track {
      background-color: #30d568;
    }

    .rc-slider-handle {
      width: 15px;
      height: 15px;
      margin-top: -3px;
      background-color: #ffffff;
      border: 2px solid #00c2c2;
      border-radius: 50%;
    }

    .rc-slider-handle-dragging {
      box-shadow: 0 0 0 5px #00c2c2;
    }
  }
  form {
    width: 80%;
  }

  .form__contents {
    display: flex;
    width: 100%;
    margin: 30px auto 0;

    .input__contents {
      width: 90%;
      margin-right: 20px;
    }
  }

  .btn__footer {
    display: flex;
    margin-top: 30px;
    justify-content: center;

    button {
      width: 171px;
      margin: 0 20px;
    }
  }
`;

export const ProgressBarContainer = styled.div`
  background-color: rgba(255, 255, 255, 1);
  padding: 25px;
  font-family: "Nunito";
  width: 100%;
  max-width: 700px;
  border-radius: 30px;
`;
