import styled from "styled-components";
export const StepMark = styled.div `
  width: 18px;
  height: 18px;
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e8ed;
  transition: 200ms ease-out;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -0.02em;
  cursor: pointer;
  color: #ffffff;
  transition: 200ms ease-out;
  .innertext {
    font-family: "Geometria", "Verdana", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 200ms ease-out;
  }
  &:before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 50%;
    transition: 200ms ease-out;
    border: 1px solid #3897f9;
    transform: translate(-50%, -50%);
    opacity: 0;
  }
  &:after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    transition: 200ms ease-out;
    width: 11px;
    height: 8px;
    background-size: contain;
    background-position: center;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3097 0.894805C11.6242 1.16437 11.6606 1.63785 11.391 1.95234L5.12395 9.26393L0.698592 5.57613C0.380384 5.31095 0.337391 4.83803 0.602564 4.51982C0.867737 4.20161 1.34066 4.15862 1.65887 4.42379L4.94779 7.16456L10.2521 0.976153C10.5217 0.661659 10.9952 0.625238 11.3097 0.894805Z' fill='white'/%3E%3C/svg%3E%0A");
  }

  ${(props) => props.active
    ? `
      background: #3897F9;
      &::before {
        opacity: 1;
      }
  `
    : ``}

  ${(props) => props.checked
    ? `
      background: #3897F9;
      &::before {
        opacity: 0;
      }
      &::after {
        opacity: 1;
        
      }
  `
    : ``}
`;
export const StepLined = styled.div `
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  font-family: "Geometria", "Verdana", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.02em;
  color: #233445;
  min-height: 44px;
  &::before {
    content: " ";
    position: absolute;
    width: 1px;
    height: 100%;
    background: #e4e8ed;
    top: 0;
    left: 9px;
  }
  ${(props) => props.active
    ? `
      font-weight: 700;`
    : ``}

  ${(props) => props.disable
    ? `
      color: #919CA7;
      pointer-events: none;`
    : ``}
`;
export const StepColumn = styled(StepLined) `
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  &:before {
    display: none;
  }
`;
export const StepColumnLine = styled(StepColumn) `
  min-width: 65px;

  & + & {
    &:before {
      width: 100%;
      height: 1px;
      display: block;
      right: 50%;
      top: 10px;
      left: auto;
    }
  }
`;
//# sourceMappingURL=steper.js.map