@use "sass:map";
@use "sass:list";

[data-div-type="element"] {
  &[data-element-type="contactUs"],
  &[data-element-type="createForm"] {
    // width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
    width: var(
      --_sf-el-wh-st-mx,
      calc(
        1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))
      )
    );
    // height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
    margin: var(--_ctm-lt-mn, --_tst-lt-mn);
    // aspect-ratio: 1 / var(--_sf-aspect-ratio);
    position: relative;

    & > .wrapper {
      // display: flex;
      // align-items: center;
      // justify-content: center;
      // width: 100%;
      // height: 100%;
    }

    & form {
      width: 100%;
      // height: 100%;
    }
    .psw__contain {
      margin-bottom: 24px;
      margin-top: 8px;

      .psw_status {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        .step {
          // width: 20%;1
          height: 3px;
          border-radius: 4px;
          background-color: var(--_gray-300);
          flex-grow: 1;
          &.active {
            background-color: var(--_success-600);
          }
        }
      }
      .psw_content {
        background-color: var(--_gray-50);
        padding: 16px;
        border-radius: 6px !important;
        // height: 100px;
        max-height: 160px;
        overflow-y: auto;
        // margin-top: 20px;
        margin-top: 5px;
        .title {
          font-size: 14px;
          font-weight: 600;
          color: var(--_gray-700);
          margin-bottom: 16px;
        }
        ul {
          li {
            color: var(--_gray-700);
            font-size: 14px;
            & > span {
              display: inline-flex;
            }
            &:not(:last-child) {
              margin-bottom: 8px;
            }
          }
        }
      }
    }
    &[data-widget-border="true"] {
      .search-wrapper {
        border-color: var(
          --_ctm-mob-dn-sh-br-br-cr,
          var(--_ctm-tab-dn-sh-br-br-cr, var(--_ctm-dn-sh-br-br-cr))
        );
        border-style: var(
          --_ctm-mob-dn-sh-br-br-se,
          var(--_ctm-tab-dn-sh-br-br-se, var(--_ctm-dn-sh-br-br-se))
        );
        border-width: var(
          --_ctm-mob-dn-sh-br-br-wh,
          var(--_ctm-tab-dn-sh-br-br-wh, var(--_ctm-dn-sh-br-br-wh))
        );
      }
    }

    &[data-widget-shadow="false"] {
      --_show-shadow: none;
    }

    &[data-show-shadow="false"] {
      --_show-shadow: none;
    }
  }
}
