/* Main Register Form Styles */

.sectionCustomerRegister {
  .fakefield {
    padding: 4rem 0 0.4rem 0 !important;
  }

  .fakefield--sm {
    padding: 1rem 0 0.1rem 0 !important;
  }

  .register_consent_optin {
    padding-top: 2rem !important;

    .register_consent_optin-item {
      input {
        flex: none;
      }
    }
  }
  form {
    select {
      font-family: var(--font-serif) !important;
      text-transform: none !important;
    }
  }

  .field--select {
    margin-top: 4.4rem !important;
  }

  .field,
  .fakefield,
  .fakefield--sm {
    position: relative;
    & + .field__error {
      margin-top: 0.5rem;
      color: red;
      font-size: 1.2rem;
      font-weight: 400;
      line-height: 1.4;
      text-align: left;
      font-family: var(--font-serif);
    }
  }

  .field--phone-number {
    display: flex;
    flex-direction: column;
    gap: 10px;

    .phone-container {
      flex-grow: 1;
      width: 100%;
      display: flex;
      gap: 10px;
      align-items: stretch;
      justify-content: space-between;

      .custom-country-selected {
        span {
          position: relative;
          top: -2px;
        }
      }
      
      input {
        display: flex;
        align-items: flex-end;
        padding-top: 0 !important;
        height: fit-content !important;
      }

      #phone-dial {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        margin-bottom: 0;
        /* padding-top: 5px; */
      }
    }
  }
}
