/* EVE — Form elements: phone input, search input, select. Spec: §4.1–4.2. */

/* Phone input group: h64, white, r48, pad 4, gap 4. */
.eve-phone {
  display: flex;
  align-items: center;
  gap: var(--eve-space-1);
  height: 64px;
  padding: var(--eve-space-1);
  border-radius: var(--eve-radius-4xl);
  background: var(--eve-color-white);
}

.eve-phone__field {
  display: flex;
  align-items: center;
  gap: var(--eve-space-3);
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  padding: var(--eve-space-3) var(--eve-space-4) var(--eve-space-3) var(--eve-space-3);
  border-radius: var(--eve-radius-4xl);
}

/* Flag chip: 64x32, #EFEFEF, r24, pad 8/12, gap 4. */
.eve-phone__flag {
  display: inline-flex;
  align-items: center;
  gap: var(--eve-space-1);
  width: 64px;
  height: 32px;
  padding: var(--eve-space-2) var(--eve-space-3);
  border-radius: var(--eve-radius-xl);
  background: var(--eve-color-gray-150);
  flex: none;
}
.eve-phone__flag > img { width: 20px; height: 15px; }
.eve-phone__flag > svg { width: 16px; height: 16px; color: var(--eve-color-gray-975); }

.eve-phone__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--eve-font-base);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--eve-color-gray-975);
  outline: none;
}
.eve-phone__input::placeholder { color: var(--eve-color-gray-500); } /* [system] */

/* Inline submit: h56 r48 pad 16/24 — reuse .eve-btn geometry. */
.eve-phone__submit { flex: none; height: 56px; }

/* Dark search variant (Search page): fill white 8%, no flag, search icon + Inter 20/500. */
.eve-search {
  display: flex;
  align-items: center;
  gap: var(--eve-space-1);
  height: 64px;
  padding: var(--eve-space-1);
  border-radius: var(--eve-radius-4xl);
  background: rgba(255, 255, 255, 0.08);
}
.eve-search__field {
  display: flex;
  align-items: center;
  gap: var(--eve-space-3);
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  padding: var(--eve-space-3) var(--eve-space-5);
}
.eve-search__field > svg { width: 24px; height: 24px; color: var(--eve-color-white); flex: none; }
.eve-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--eve-font-base);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--eve-color-white);
  outline: none;
}
.eve-search__input::placeholder { color: rgba(255, 255, 255, 0.5); } /* [system] */

/* Select (Search): 264x64, white 8%, r20, pad 12/24, gap 12, Inter 20/500 white. */
.eve-select {
  display: inline-flex;
  align-items: center;
  gap: var(--eve-space-3);
  width: 264px;
  height: 64px;
  padding: var(--eve-space-3) var(--eve-space-6);
  border-radius: var(--eve-radius-lg);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--eve-font-base);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  color: var(--eve-color-white);
  cursor: pointer;
}
.eve-select > svg { width: 24px; height: 24px; margin-left: auto; }
.eve-select[data-open] { background: rgba(255, 255, 255, 0.12); }

/* Dropdown menu: #2E2E2E, r20, pad 6, options h52 r16 pad 12/16, Inter 20/500 lh28. */
.eve-select__menu {
  display: flex;
  flex-direction: column;
  gap: var(--eve-space-1);
  padding: 6px;
  border-radius: var(--eve-radius-lg);
  background: var(--eve-color-gray-850);
  box-shadow: var(--eve-shadow-md); /* [system] — no shadow in Figma, needed for layering */
}
.eve-select__option {
  display: flex;
  align-items: center;
  height: 52px;
  padding: var(--eve-space-3) var(--eve-space-4);
  border-radius: var(--eve-radius-md);
  font-family: var(--eve-font-base);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--eve-color-white);
  cursor: pointer;
}
.eve-select__option:hover,
.eve-select__option[data-active] { background: rgba(255, 255, 255, 0.08); }
