/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.iti {
  --iti-border-color: rgba(255, 255, 255, 0.2);
  --iti-dialcode-color: rgba(255, 255, 255, 0.6);
  --iti-dropdown-bg: #1a1a1a;
  --iti-arrow-color: rgba(255, 255, 255, 0.6);
  --iti-hover-color: rgba(255, 255, 255, 0.1);
  --iti-selected-bg: rgba(255, 255, 255, 0.1);
  --iti-selected-text: #ffffff;
  --iti-active-bg: rgba(255, 255, 255, 0.15);
  --iti-active-text: #ffffff;
  --iti-path-globe-1x: url("/npm/intl-tel-input@25.3.1/build/img/globe_light.webp");
  --iti-path-globe-2x: url("/npm/intl-tel-input@25.3.1/build/img/globe_light@2x.webp");
  width: 100%;
}

.iti input {
  border-color: var(--iti-border-color);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.iti input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.iti__flag-container {
  background-color: rgba(255, 255, 255, 0.1);
}

.iti__selected-flag {
  background-color: transparent !important;
  border-right: 1px solid var(--iti-border-color);
}

.iti__country-list {
  background-color: var(--iti-dropdown-bg);
  border: 1px solid var(--iti-border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.iti__country:hover {
  background-color: var(--iti-hover-color);
}

.iti__country.iti__active {
  background-color: var(--iti-active-bg);
  color: var(--iti-active-text);
}

.iti__country.iti__selected {
  background-color: var(--iti-selected-bg);
  color: var(--iti-selected-text);
}

.iti__arrow {
  border-top-color: var(--iti-arrow-color) !important;
}

.iti__arrow--up {
  border-bottom-color: var(--iti-arrow-color) !important;
}