.FactoryType_container__9yoDW {
  flex: 1;
  background-color: var(--white);
  border-radius: 12px;
  width: 100%;
  min-height: 100vh;
}

.FactoryType_headerContainer__cYL6Y {
  margin-top: 24px;
  width: 100%;
  height: 52px;
  padding: 0 24px;
}

.FactoryType_arrowWrapper__kyVPt {
  display: none !important;
}

.FactoryType_arrowButton__DsQed {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #f8fafc;
  color: #64748b;
}

.FactoryType_createButtonWrapper__uHuwn {
  height: 40px;
  border-radius: 8px;
}

.FactoryType_headerIconStyle__ms8LQ {
  height: 18px;
  width: 18px;
  color: #64748b;
  margin-right: 10px;
}

.FactoryType_mainContent__nBU_y {
  padding: 0 32px;
  margin-bottom: 24px;
}

.FactoryType_closeIcon__YRtfy {
  transform: rotate(45deg);
  color: #334155;
}

.FactoryType_customCardContainer__4boQ5 {
  margin-top: 16px;
  flex-wrap: nowrap;
}

.FactoryType_footerButton__Zs2AC {
  width: 100%;
  justify-content: center;
  margin: 24px 0;
  gap: 24px;
}

.FactoryType_button__RcLV8 {
  margin-right: 24px;
  border-radius: 8px;
}

.FactoryType_previousButton__ZeIul {
  width: auto;
}

.FactoryType_headerLeftButton__KxMjJ {
  display: block;
}

.FactoryType_stepperContainer__7nRn0 {
  margin: 24px 0;
  width: 100%;
}

.FactoryType_tooltipContainer__bLtZD {
  width: 278px;
}

.FactoryType_tooltipImageWrapper__9AmiY {
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.FactoryType_tooltipImage__HujGm {
  display: flex;
  height: 200px;
  border-radius: 12px;
  background: gray;
  object-fit: cover;
  padding-bottom: 4px;
}

.FactoryType_tooltipTextContainer__v4njK {
  padding: 16px;
  padding-top: 4px;
}

.FactoryType_tooltipTitle__Vg79O {
  margin-top: -16px;
  margin-bottom: 4px;
}

.FactoryType_cardWrapper__IT06_ {
  /* padding: 16px; */
}

.FactoryType_footerContainer__7VMKa {
  flex: 1;
  margin-top: 20px;
  margin-bottom: 24px;
}

.FactoryType_roundedButton__owi0p {
  border-radius: 8px;
}

.FactoryType_backButtonText__Jq6SP {
  padding-left: 8px;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 900px) {
  .FactoryType_headerLeftButton__KxMjJ {
    display: none;
  }

  .FactoryType_customCardContainer__4boQ5 {
    flex-wrap: wrap;
  }

  .FactoryType_mainContent__nBU_y {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    margin-bottom: 24px;
  }

  .FactoryType_headerContainer__cYL6Y {
    padding: 0 16px;
  }

  .FactoryType_button__RcLV8 {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .FactoryType_footerButton__Zs2AC {
    flex: 1;
    width: 100%;
    padding: 0 18px;
    flex-direction: column-reverse;
    gap: 16px;
  }

  .FactoryType_previousButton__ZeIul {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .FactoryType_arrowWrapper__kyVPt {
    display: block;
  }
}

.GenerateFactoryModal_modal__U2Yk9 {
  width: 100vh;
  height: calc(100vh - 10px);
}

@media (min-width: 768px) {
  .GenerateFactoryModal_modal__U2Yk9 {
    max-width: 1024px;
    height: auto;
  }
}

.ImageFactory_container__V_rt1 {
  flex: 1;
  background-color: var(--white);
  border-radius: 12px;
  width: 100%;
  min-height: 100vh;
}

.ImageFactory_headerContainer__rE5Li {
  margin-top: 24px;
  width: 100%;
  height: 52px;
  padding: 0 24px;
}

.ImageFactory_arrowButton__p5bd1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--gray-50);
  color: var(--gray-500);
}

.ImageFactory_createButtonWrapper__RahdT {
  height: 40px;
  border-radius: 8px;
}

.ImageFactory_headerIconStyle__yrsWN {
  height: 18px;
  width: 18px;
  color: var(--gray-500);
  margin-right: 10px;
}

.ImageFactory_hoverText__GKaV0 {
  opacity: 1;
  transition: background-color 0.2s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.ImageFactory_hoverText__GKaV0:hover {
  background-color: #eff0ff;
  transition: background-color 0.2s ease;
}

.ImageFactory_mainContent__tTTLp {
  padding: 0 180px;
}

.ImageFactory_closeIcon__4ae_V {
  transform: rotate(45deg);
  color: var(--gray-700);
}

.ImageFactory_stepperContainer__DrYWJ {
  width: 100%;
  margin: 24px 0;
}

.ImageFactory_customCardContainer__Y61AI {
  margin-top: 16px;
  flex-wrap: nowrap;
  flex: 1;
  width: 100%;
  background-color: var(--brand);
}

.ImageFactory_footerButton__emWpQ {
  width: 100%;
  justify-content: center;
  margin: 24px 0;
}

.ImageFactory_button__9SYC9 {
  margin-right: 24px;
  border-radius: 8px;
}

.ImageFactory_previousButton__wUJ5G {
  width: auto;
}

.ImageFactory_headerLeftButton__xtA78 {
  display: block;
}

.ImageFactory_footerContainer__a9WFT {
  flex: 1;
  margin-top: 20px;
  margin-bottom: 24px;
}

.ImageFactory_roundedButton__vHOig {
  border-radius: 8px;
}

.ImageFactory_backButtonText__51aEk {
  padding-left: 8px;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 14px;
}

.ImageFactory_textEllipsis__TcHKa {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 900px) {
  .ImageFactory_headerLeftButton__xtA78 {
    display: none;
  }

  .ImageFactory_stepperContainer__DrYWJ {
    padding: 0 16px;
    margin: 32px 0 24px;
  }

  .ImageFactory_customCardContainer__Y61AI {
    flex-wrap: wrap;
  }

  .ImageFactory_headerContainer__rE5Li {
    padding: 0 16px;
  }

  .ImageFactory_mainContent__tTTLp {
    padding: 0 16px;
  }

  .ImageFactory_button__9SYC9 {
    margin-top: 24px;
  }

  .ImageFactory_previousButton__wUJ5G {
    width: 100%;
  }

  .ImageFactory_footerButton__emWpQ {
    flex-direction: column-reverse;
    width: 100%;
    padding: 0 16px;
  }

  .ImageFactory_textEllipsis__TcHKa {
    white-space: normal;
    word-break: break-word;
    margin-right: 10px;
  }
}

.PostSelectionModal_container__i4Kg6 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 0;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  margin: 0 auto;
  height: 100%;
}

.PostSelectionModal_brandButton__eyjIM {
  background-color: var(--brand) !important;
  color: #fff !important;
  border: none;
}

.PostSelectionModal_brandButton__eyjIM:disabled {
  background: var(--brand) !important;
  opacity: 0.5;
  color: #fff !important;
  border: none;
}

.PostSelectionModal_containerFacebook__lxIeN {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  gap: 16px;
  padding: 16px 0;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  margin: 0 auto;
  overflow: auto;
}

.PostSelectionModal_card__w9aVw {
  position: relative;
  cursor: pointer;
  transition: border 0.3s;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  border: none !important;
  height: auto !important;

  /* width: 300px !important; */

  /* aspect-ratio: 2/1 !important; */

  /* zoom: 1 !important; */
}

.PostSelectionModal_cardFacebook___hDHV {
  cursor: pointer;
  transition: border 0.3s;
  width: 300px;
  margin: 0 auto;
  border: none !important;
  height: auto !important;

  /* aspect-ratio: 1 !important; */
}

.PostSelectionModal_templateContainer__g8Z1L {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;

  /* object-fit: contain !important; */

  /* object-fit: cover !important; */

  /* font-size: 10px !important; */
  text-indent: initial !important;
  text-size-adjust: auto !important;
  text-size-adjust: auto !important;
  text-size-adjust: auto !important;
  text-size-adjust: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizelegibility !important;
}

.PostSelectionModal_templateContainer__g8Z1L img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.PostSelectionModal_cancelButton__OAEQT {
  display: none;
}

.PostSelectionModal_mobileHeader__sQ1_s {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 10px;
}

.PostSelectionModal_modalBody__QokWX {
  overflow-x: auto;
  width: 100%;
  padding: 0 16px;
}

.PostSelectionModal_modal__AOJQr {
  max-width: 1200px;
  width: 100%;
  max-height: 90vh !important;
  height: auto !important;
}

/* @media (max-width: 1024px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, min-content);
    justify-content: center;
    padding: 8px;
    max-width: 700px;
  }
} */

@media (max-width: 1024px) {
  .PostSelectionModal_container__i4Kg6 {
    grid-template-columns: 1fr;
    padding: 4px;
    max-width: 100%;
  }

  .PostSelectionModal_containerFacebook__lxIeN {
    grid-template-columns: 1fr;
    padding: 4px;
    max-width: 100%;
    overflow: auto;
  }

  .PostSelectionModal_cardFacebook___hDHV {
    width: 300px !important;
    justify-content: center;
    font-size: calc(1em * 0.2) !important;
    text-size-adjust: 25% !important;
    text-size-adjust: 25% !important;
    text-size-adjust: 25% !important;
  }

  .PostSelectionModal_card__w9aVw {
    cursor: pointer;
    transition: border 0.3s;
    width: 300px !important;
    margin: 0 auto;
    border: none !important;
    justify-content: center;
    font-size: calc(1em * 0.2) !important;
    text-size-adjust: 25% !important;
    text-size-adjust: 25% !important;
    text-size-adjust: 25% !important;
    height: max-content !important;
  }

  .PostSelectionModal_mobileModalContent__mGN2y {
    height: 100%;
    margin-bottom: 60px;
  }

  .PostSelectionModal_mobileHeader__sQ1_s {
    background-color: #f1f5f9;
    height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #cbd5e1;
  }

  .PostSelectionModal_modalBody__QokWX {
    padding: 10px 16px;
  }

  .PostSelectionModal_modal__AOJQr {
    border-radius: 24px 24px 0 0;
    min-height: 90%;
  }
}

@media (max-width: 760px) {
  .PostSelectionModal_cancelButton__OAEQT {
    display: flex;
  }
}

