.emaura-ma-auth-field {
  position: relative;
  margin-top: 0 !important;
  overflow: visible;
}

.emaura-ma-auth-field > label {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgba(36, 72, 120, .74) !important;
  background: transparent;
  padding: 0;
  pointer-events: none;
  transition: top .2s ease, transform .2s ease, font-size .2s ease, line-height .2s ease, background-color .2s ease, padding .2s ease;
}

.emaura-ma-auth-field.emaura-ma-float-active > label,
.emaura-ma-auth-field.emaura-ma-float-focus > label {
  top: -9px !important;
  transform: none !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  color: rgba(36, 72, 120, .86) !important;
  background: var(--emaura-ma-label-bg, transparent);
  padding: 0 4px;
}

.emaura-ma-auth-field .woocommerce-input-wrapper {
  position: relative;
  display: block;
}

.emaura-ma-auth-field .woocommerce-input-wrapper::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
  background: var(--emaura-ma-field-icon) center / contain no-repeat;
  opacity: .74;
}

.emaura-ma-auth-field.emaura-ma-float-active .woocommerce-input-wrapper::before,
.emaura-ma-auth-field.emaura-ma-float-focus .woocommerce-input-wrapper::before {
  opacity: 1;
}

.emaura-ma-auth-field :is(input.input-text, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea) {
  min-height: 52px !important;
  line-height: 24px !important;
  padding-left: 42px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  color: rgba(36, 72, 120, .86) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.emaura-ma-auth-field :is(input.input-text, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea)::placeholder {
  color: transparent !important;
}

.emaura-ma-auth-field.emaura-ma-field-first-name,
.emaura-ma-auth-field.emaura-ma-field-last-name {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.7 4.3-5.5 8-5.5s6.5 1.8 8 5.5'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-username,
.emaura-ma-auth-field.emaura-ma-field-display-name {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.7 4.3-5.5 8-5.5s6.5 1.8 8 5.5'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-email {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-state {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-city {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.5 9 3l6 3.5 6-3.5v14L15 20l-6-3.5L3 20z'/%3E%3Cpath d='M9 3v13.5M15 6.5V20'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-address-1 {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-address-2 {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z'/%3E%3Cpath d='M9 10.2h6'/%3E%3Cpath d='M9 13.2h4'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-company {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 10h.01M15 10h.01M9 14h.01M15 14h.01'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-tax,
.emaura-ma-auth-field.emaura-ma-field-invoice-type {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-password {
  --emaura-ma-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 1 1 8 0v3'/%3E%3C/svg%3E");
}

.emaura-ma-auth-field.emaura-ma-field-password .woocommerce-input-wrapper,
.emaura-ma-auth-field.emaura-ma-field-password-repeat .woocommerce-input-wrapper {
  min-height: 52px;
}

.emaura-ma-auth-field.emaura-ma-field-password .woocommerce-input-wrapper::before,
.emaura-ma-auth-field.emaura-ma-field-password-repeat .woocommerce-input-wrapper::before {
  top: 26px;
  transform: translateY(-50%);
}

.emaura-ma-auth-field .woocommerce-password-strength {
  position: static !important;
  display: block;
  margin-top: 8px;
  clear: both;
}

.emaura-ma-auth-field.emaura-ma-field-phone {
  --emaura-ma-phone-prefix-w: 88px;
}

.emaura-ma-auth-field.emaura-ma-field-phone .woocommerce-input-wrapper::before {
  content: "+90";
  inset: 0 auto 0 0;
  top: 0;
  transform: none;
  width: var(--emaura-ma-phone-prefix-w);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 36px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cpath d='M0 0h900v600H0z' fill='%23e30a17'/%3E%3Cpath d='m417.504 300 135.68-44.078-83.86 115.41V228.668l83.86 115.41Zm9.25 80.21c-35.7 56.415-104.387 82.446-168.508 63.86C194.125 425.488 150 366.762 150 300s44.125-125.488 108.246-144.07c64.121-18.586 132.809 7.445 168.508 63.86-33.223-36.97-85.797-49.63-132.203-31.84C248.14 205.737 217.5 250.296 217.5 300s30.64 94.262 77.05 112.05c46.407 17.79 98.981 5.13 132.204-31.84' fill='%23fff'/%3E%3C/svg%3E") no-repeat 10px center / 18px 12px,
    #f7f9fc;
  border: 1px solid #d9dde5;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: #182a94;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  z-index: 3;
  box-sizing: border-box;
}

.emaura-ma-auth-field.emaura-ma-field-phone > label {
  left: 102px !important;
  max-width: calc(100% - 114px);
}

.emaura-ma-auth-field.emaura-ma-field-phone :is(input.input-text, input[type="tel"], input[type="text"]) {
  padding-left: 102px !important;
  border-left: 0 !important;
  color: rgba(36, 72, 120, .86) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

/* Account edit-address: hide select placeholder text (Lütfen seçiniz / Bir seçenek belirleyin) until selection. */
.woocommerce-account .woocommerce-address-fields .emaura-ma-auth-field.emaura-ma-empty-select:is(.emaura-ma-field-state, .emaura-ma-field-city, .emaura-ma-field-address-1) .select2-selection__rendered,
.woocommerce-account .woocommerce-address-fields .emaura-ma-auth-field.emaura-ma-empty-select:is(.emaura-ma-field-state, .emaura-ma-field-city, .emaura-ma-field-address-1) .select2-selection__placeholder {
  color: transparent !important;
}

/* Invoice type select: keep floating label above selected text. */
.emaura-ma-auth-field.emaura-ma-field-invoice-type > label {
  top: -9px !important;
  transform: none !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  padding: 0 4px !important;
}

/* Account details: display name row has help text, keep label centered on input box. */
.emaura-ma-auth-field.emaura-ma-field-display-name:not(.emaura-ma-float-active):not(.emaura-ma-float-focus) > label {
  top: 26px !important;
  transform: translateY(-50%) !important;
}
