#domainform .select2-container {
    width: 150px !important;
}

/** Form domini **/
#domainform {
    position: relative;
    top: 0;
    left: 0;
    border: 1px solid var(--wp--preset--color--gray-lines);
    border-radius: 100px;
    background-color: var(--wp--preset--color--white);
    margin-bottom: 10px;
  }
  #domainform #domain,
  #domainform #select2-tld-container {
    padding: 25px 40px;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 400;
    line-height: 1.5em;
    border: none;
    border-radius: 100px 0 0 100px;
    display: inline-block;
    width: 40%;
  }
  #domainform #select2-tld-container {
    border-radius: unset;
  }
  #domainform #domain {
    border-right: 1px solid var(--wp--preset--color--gray-lines);
  }
  
  #domainform #domain:focus {
    outline: none;
  }
  
  #domainform #domain::placeholder {
    font-size: var(--wp--preset--font-size--medium);
  }
  /** Autofill **/
  #domainform input:-webkit-autofill {
    box-shadow: inset 0 0 0 9999px var(--wp--preset--color--white) !important;
    -webkit-box-shadow: inset 0 0 0 9999px var(--wp--preset--color--white) !important;
  }
  
  #domainform input:-webkit-autofill:focus {
    box-shadow: 0 0 0 50px var(--wp--preset--color--white) inset;
    -webkit-box-shadow: 0 0 0 50px var(--wp--preset--color--white) inset;
  }
  #domainform .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: unset;
    border-radius: 4px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #domainform .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #7b7b7b;
  }
  
  #domainform .select2-container--default .select2-selection--single:focus {
    outline: none;
  }
  
  #domainform .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 25px;
  }
  
  #domainform button {
    position: absolute;
    top: calc(50% - 28px);
    right: 5px;
    padding: 20px 30px;
    border: none;
    background-color: var(--wp--preset--color--black);
    border-radius: 30px;
    color: var(--wp--preset--color--white);
    text-transform: uppercase;
    font-size: var(--wp--preset--font-size--small);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: 1px solid var(--wp--preset--color--black);
    cursor: pointer;
  }
  
  #domainform button:first-of-type {
    background-color: var(--wp--preset--color--green);
    border: 1px solid var(--wp--preset--color--green);
    right: 115px;
    top: calc(50% - 20px);
    padding: 12px 15px;
    z-index: 2;
  }
  
  #domainform button:first-of-type:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    padding: 18px 25px;
    z-index: 3;
    top: calc(50% - 26px);
  }
  
  #domainform button:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    z-index: 3;
  }

@media (max-width: 1023px) {
  #domainform #domain {
    width: 33%;
  }
}
  
@media (max-width: 781px) {
  #domainform {
    border: unset;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  #domainform #domain {
    width: auto;
    border: 1px solid var(--wp--preset--color--gray-lines);
    border-radius: 100px;
  }
  #domainform .select2-container--default .select2-selection--single {
    width: 100% !important;
    border-radius: 100px;
  }
  #domainform .select2-selection__rendered {
    width: 100% !important;
  }
  #domainform .select2-container {
    width: 100% !important;
    border: 1px solid var(--wp--preset--color--gray-lines);
    border-radius: 100px;
  }

  #domainform button {
    position: static;
  }
  #domainform button:first-of-type {
    padding: 20px 30px !important;
  }

}