#calculator {
  background-color: #447aa3;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  border-radius: 24px 24px 0 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-row {
  display: flex;
  gap: 16px;
}
.calc-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#calculator label {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

/* We send / Recipient gets — amount + currency in one pill */
.calc-input-group {
  background-color: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 10px;
}
.calc-input-group .custom-select {
  position: relative;
  flex-shrink: 0;
}
.calc-input-group .select-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
}
.calc-input-group .select-text {
  font-weight: 600;
  color: #0c314b;
  font-size: 15px;
}
.calc-input-group .select-flag img{
  width: 24px;
  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.22);
  border-radius: 3px;
}
.calc-input-group .select-chevron {
  color: #767d86;
}
.calc-currency-display {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.calc-currency-display .select-text {
  font-weight: 600;
  color: #767d86;
  font-size: 15px;
}
.calc-amount {
  flex: 1;
  border: none;
  outline: none;
  font-size: 22px;
  font-weight: 500;
  color: #767d86;
  text-align: right;
  background: transparent;
  min-width: 0;
  width: 0;
}
.calc-amount[readonly] {
  color: #4479a2;
}

/* Delivery / Payment — full-width white pill */
.custom-select.full-width {
  background-color: #ffffff;
  border-radius: 20px;
  width: 100%;
  position: relative;
}
.custom-select.full-width .select-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  cursor: pointer;
}
.custom-select.full-width .select-trigger i {
  color: #4479a2;
  font-size: 20px;
  flex-shrink: 0;
}
.custom-select.full-width .select-text {
  flex: 1;
  color: #0c314b;
  font-size: 15px;
  font-weight: 500;
}
.custom-select.full-width .select-chevron {
  color: #4479a2;
  flex-shrink: 0;
}

/* Shared dropdown */
.custom-select .select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background-color: #ffffff;
  border-radius: 14px;
  padding: 8px;
  list-style: none;
  z-index: 100;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}
.custom-select.full-width .select-dropdown {
  width: 100%;
}
.custom-select.open .select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-select.open .select-chevron {
  transform: rotate(180deg);
}
.select-chevron {
  transition: transform 0.2s ease;
}
.custom-select .select-dropdown li {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: #0c314b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.custom-select .select-dropdown li span img{
  width: 20px;
}
.custom-select .select-dropdown li:hover {
  background-color: #f2f2f2;
}

/* Send money button */
.calc-send-button {
  display: block;
  width: 100%;
  background-color: #ffffff;
  color: #447aa3;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  padding: 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.calc-send-button:hover {
  background-color: #fe3c48;
  color: #ffffff;
}

/* Exchange rate / fee / you pay */
.calc-info-row {
  background-color: #ffffff;
  border-radius: 16px;
  display: flex;
  overflow: hidden;
}
.calc-info-item {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid #e8edf2;
  text-align: center;
  align-self: center;
}
.calc-info-item:last-child {
  border-right: none;
}
.info-label {
  font-size: 14px;
  font-weight: 600;
  color: #4479a2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.normalExchangeRateContainer{
  font-size: 12px;
  font-weight: normal;
  color: #8aa5be;
  text-decoration: line-through;
}
.termsApply{
  font-size: 12px;
  color: #8aa5be;
  font-weight: 500;
}
.info-value {
  font-size: 16px;
  color: #0c314b;
}
.info-value b {
  color: #fe3c48;
  font-size: 16px;
  font-weight: 700;
}
.info-usual {
  font-size: 12px;
  color: #8aa5be;
}
.info-badge {
  display: block;
  margin: 0 auto;
  align-items: center;
  gap: 4px;
  background-color: #e3f8ec;
  color: #049b4d;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  margin-top: 4px;
  width: fit-content;
}
.info-badge i {
  font-size: 11px;
}

/* Disclaimer */
.calc-disclaimer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}
.calc-disclaimer b {
  color: #ffffff;
}

@media (max-width: 991px) {
  .intro-left {
    align-items: end;
    display: flex;
  }
}
@media (max-width: 500px) {
  #calculator .calc-row,
  .calc-info-row {
    display: block;
  }
  #calculator .calc-row .calc-field:last-child {
    margin-top: 15px;
  }
}
