/* FILE 1 - Base styles */
.esim .custom-select {
  position: relative;
  width: 100%;
  text-align: left;
  outline: none;
  height: 47px;
  line-height: 47px;
}

.esim .custom-select .selected {
  background-color: var(--color-text-button-main);
  border-radius: 10px;
  border: 1px solid var(--color-border-form);
  color: var(--black);
  padding-left: 1em;
  cursor: pointer;
  user-select: none;
}

.esim .custom-select .selected.open {
  border: 1px solid var(--color-border-form);
  border-radius: 10px 10px 0px 0px;
}

.esim .custom-select .selected:after {
  position: absolute;
  content: "";
  top: 22px;
  right: 1em;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-color: var(--black) transparent transparent transparent;
}

.esim .custom-select .items {
  color: var(--black);
  border-right: 1px solid var(--color-border-form);
  border-left: 1px solid var(--color-border-form);
  border-bottom: 1px solid var(--color-border-form);
  position: absolute;
  background-color: #fff;
  left: 0;
  right: 0;
  z-index: 1;
}

.esim.custom-select .items div {
  color: #fff;
  padding-left: 1em;
  cursor: pointer;
  user-select: none;
}

.esim .custom-select .items div:hover {
  background-color: var(--color-border-form);
}

.esim .selectHide {
  display: none;
}

/* FILE 2 - Overrides và additional styles */
.esim {
  max-width: 400px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.no-result {
  color: #999;
  padding: 8px;
  font-style: italic;
  cursor: default;
}

/* Override: thêm margin-bottom */
.esim .custom-select {
  margin-bottom: 24px;
}

/* Override: thêm transition và hover */
.esim .custom-select .selected {
  transition: border-color 0.2s;
}

.esim .custom-select .selected:hover {
  border-color: #999;
}

.selected-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* Override: thêm max-height, overflow, border-radius, box-shadow, top */
.esim .custom-select .items {
  max-height: 200px;
  overflow-y: auto;
  border-radius: 12px;
  top: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.option-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.option-item:hover {
  background: #f5f5f5;
}

.search-input {
  width: 100%;
  border: 1px solid var(--color-border-form);
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  background-color: var(--color-text-button-main);
  color: var(--black);
  padding-left: 1em;
  height: 47px;
  line-height: 47px;
}

.search-input:focus {
  border-color: #007bff;
}

/* Suggested data plans section */
.suggested-section {
  margin-top: 24px;
}

.plan-card {
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  margin-top: 12px;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.flag-icon-large {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.country-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.plan-price {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.plan-data {
  font-size: 16px;
  font-weight: 500;
  color: #666;
}
.search-input-main {
  width: 100%;
  padding: 8px 12px;
  height: 48px;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  box-sizing: border-box;
}


.items.selectHide {
  display: none;
}

.no-results {
  padding: 12px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}
.selected img {
  width: 20px !important;
} 
.items img {
  width: 20px !important;
} 