/* P4.4 Multi-currency switcher and pricing polish */
.fd-currency-switcher {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 38px;
  padding: .32rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(12px);
  position: relative;
}

.fd-currency-switcher__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(220, 38, 38, .16);
  color: #ef4444;
  flex: 0 0 auto;
}

.fd-currency-switcher select {
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font-weight: 800;
  font-size: .83rem;
  min-width: 106px;
  cursor: pointer;
  padding-inline-end: .15rem;
}

.fd-currency-switcher select option {
  color: #111827;
  background: #fff;
}

.fd-currency-switcher--topbar {
  color: #0f172a;
  background: #fff;
  border-color: rgba(15, 23, 42, .10);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.fd-currency-switcher--public {
  color: #fff;
}

.fd-public-header:not(.is-scrolled) .fd-currency-switcher--public {
  border-color: rgba(255, 255, 255, .20);
}

.fd-public-header.is-scrolled .fd-currency-switcher--public,
.fd-public-header:not(.fd-public-header--premium) .fd-currency-switcher--public {
  color: #0f172a;
  background: #fff;
  border-color: rgba(15, 23, 42, .10);
}

.fd-currency-switcher--mobile {
  width: 100%;
  justify-content: flex-start;
  color: #0f172a;
  background: #fff;
  border-color: rgba(15, 23, 42, .10);
}

.fd-public-mobile__currency {
  grid-column: 1 / -1;
  padding: .35rem;
  border-radius: 18px;
  background: rgba(248, 250, 252, .92);
}

.fd-public-plan__price strong,
.fd-service-checkout__price strong,
.fd-service-product-card__foot strong,
.fd-service-quote strong {
  letter-spacing: -.02em;
}

.fd-public-plan__source .bi-currency-exchange,
.fd-public-plan__source .bi-database-check {
  color: #dc2626;
}

.fd-currency-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.fd-currency-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.fd-currency-card__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.fd-currency-card__code {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: #111827;
}

.fd-currency-card__symbol {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, .10);
  color: #dc2626;
}

@media (max-width: 1199px) {
  .fd-public-actions .fd-currency-switcher--public { display: none; }
}

.fd-currency-integrity-alert {
  border-color: rgba(245, 158, 11, .35) !important;
  background: linear-gradient(135deg, rgba(255, 251, 235, .92), rgba(255, 255, 255, .98));
}

.fd-currency-integrity-alert h2,
.fd-currency-bulk-panel h2 {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .45rem;
}

.fd-currency-duplicates {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.fd-currency-bulk-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.fd-currency-bulk-form .form-select {
  min-width: 220px;
}

.fd-currency-select-all,
.fd-currency-card__bulk {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: rgba(248, 250, 252, .9);
  padding: .55rem .75rem;
}

.fd-currency-card__bulk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}

@media (max-width: 575px) {
  .fd-currency-bulk-form,
  .fd-currency-bulk-form .form-select,
  .fd-currency-bulk-form .btn {
    width: 100%;
  }

  .fd-currency-card__bulk {
    align-items: flex-start;
    flex-direction: column;
  }
}
