/* ==========================================================================
   CITY OF HARARE — SERVICES REVAMP STYLES (v3.2)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Services Hero Banner
   -------------------------------------------------------------------------- */
.services-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
      135deg,
      rgba(10, 36, 14, 0.85) 0%,
      rgba(10, 36, 14, 0.92) 100%
    ),
    var(--bg-img, url('/assets/img/slider/harare/4-hre.webp'));
  background-size: cover;
  background-position: center;
  color: #ffffff !important;
  text-align: center;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
  padding: 130px 1.5rem 4rem 1.5rem;
}

.services-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--cream, #f6f4ef) 0%, transparent 100%);
  pointer-events: none;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.services-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 18px;
  border-radius: var(--radius-pill, 9999px);
  font-size: 13px;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-weight: 600;
  color: var(--gold-light, #f0d97a);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-live-dot {
  width: 8px;
  height: 8px;
  background: var(--gold, #c2911a);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold, #c2911a);
}

.services-hero-title {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.services-hero-subtitle {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--green-wash, #e8f5e9);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.55;
}

.services-page {
  background-color: var(--bg-cream, #f6f4ef);
  padding: 3rem 0;
}

.services-card {
  background: #ffffff;
  border: 1px solid var(--border-color, rgba(10,36,14,0.1));
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
  transition: var(--transition-base, 0.2s ease);
}

.services-card:hover {
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.08));
}

.services-card-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color, rgba(10,36,14,0.1));
  padding: 1.5rem 2rem;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-color, #0a240e);
  font-family: var(--font-sans, system-ui, sans-serif);
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-card-header i {
  font-size: 26px;
  color: var(--accent-green, #2e8b3e);
}

.services-list-group {
  background: #ffffff;
}

.services-list-item {
  padding: 1.5rem 2rem !important;
  border-bottom: 1px solid var(--border-color, rgba(10,36,14,0.1)) !important;
  transition: var(--transition-fast, 0.15s ease) !important;
  text-decoration: none !important;
  display: block;
}

.services-list-item:last-child {
  border-bottom: none !important;
}

.services-list-item:hover {
  background-color: var(--green-wash, #e8f5e9) !important;
}

.services-list-item h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark, #1a2e1c);
  margin-bottom: 4px;
  font-family: var(--font-sans, system-ui, sans-serif);
}

.services-list-item:hover h5 {
  color: var(--accent-green, #2e8b3e);
}

.services-list-item p {
  font-size: 14px;
  color: var(--text-muted, #5a7060);
  line-height: 1.5;
  margin: 0;
}

.services-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--green-wash, #e8f5e9);
  color: var(--primary-color, #0a240e);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast, 0.15s ease);
}

.services-list-item:hover .services-icon-box {
  background-color: var(--accent-green, #2e8b3e);
  color: #ffffff;
}

/* Exchange rate card */
.exchange-rate-card-revamped {
  background: linear-gradient(135deg, #fbfcfb 0%, #ffffff 100%) !important;
  border: 1px solid var(--border-color, rgba(10,36,14,0.1)) !important;
  border-left: 5px solid var(--gold, #c2911a) !important;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 4px 15px rgba(10, 36, 14, 0.02);
  transition: var(--transition-base, 0.2s ease);
}

.exchange-rate-card-revamped:hover {
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
  transform: translateY(-1px);
}

.exchange-rate-badge {
  background-color: rgba(220, 180, 50, 0.08);
  color: var(--gold-dark, #9e7512);
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.8px;
  border-radius: 4px;
  margin-bottom: 6px;
  display: inline-block;
  font-family: var(--font-sans, system-ui, sans-serif);
  border: 1px solid rgba(220, 180, 50, 0.15);
}

.exchange-rate-title {
  color: var(--primary-color, #0a240e) !important;
  font-weight: 700;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 16px;
}

.exchange-rate-link {
  color: var(--accent-green, #2e8b3e) !important;
  font-weight: 700;
  text-decoration: underline !important;
  transition: var(--transition-fast, 0.15s ease);
}

.exchange-rate-link:hover {
  color: var(--primary-color, #0a240e) !important;
}

/* Responsive */
@media (max-width: 767px) {
  .services-hero {
    padding: 110px 1rem 3rem 1rem;
    min-height: 340px;
  }
}

/* ==========================================================================
   BILLS & PAYMENTS COMPONENT STYLES
   ========================================================================== */

/* Category Filter Pills */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.75rem;
  padding: 0 2rem;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1.5px solid var(--border-color, rgba(10,36,14,0.15));
  background: #ffffff;
  color: var(--charcoal, #2c3e50);
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans, system-ui, sans-serif);
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none !important;
}

.filter-pill:hover {
  border-color: var(--accent-green, #2e8b3e);
  color: var(--accent-green, #2e8b3e);
  background: var(--green-wash, #e8f5e9);
}

.filter-pill.active {
  background: var(--primary-color, #0a240e);
  color: #ffffff !important;
  border-color: var(--primary-color, #0a240e);
  box-shadow: 0 4px 12px rgba(10, 36, 14, 0.2);
}

/* Accounts Grid & Cards */
.accounts-grid-container {
  padding: 0 2rem 2.25rem 2rem;
}

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.account-card {
  background: #ffffff;
  border: 1.5px solid rgba(10, 36, 14, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.account-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 36, 14, 0.09);
  border-color: rgba(46, 139, 62, 0.3);
}

.account-card.hidden-card {
  display: none !important;
}

.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(10, 36, 14, 0.06);
}

.bank-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bank-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.avatar-cabs { background: linear-gradient(135deg, #004b87, #002d54); }
.avatar-cbz  { background: linear-gradient(135deg, #003366, #001a33); }
.avatar-zb   { background: linear-gradient(135deg, #008040, #004d26); }
.avatar-fbc  { background: linear-gradient(135deg, #c00000, #800000); }
.avatar-ecocash { background: linear-gradient(135deg, #1e88e5, #0d47a1); }
.avatar-default { background: linear-gradient(135deg, #455a64, #263238); }

.bank-name {
  font-size: 16px;
  font-weight: 700;
  color: #0a240e;
  margin: 0;
  font-family: var(--font-sans, system-ui, sans-serif);
  line-height: 1.2;
}

.spec-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.spec-badge-rates { background: #e8f5e9; color: #2e7d32; }
.spec-badge-water { background: #e3f2fd; color: #1565c0; }
.spec-badge-licences { background: #fff8e1; color: #f57f17; }
.spec-badge-default { background: #f5f5f5; color: #616161; }

.account-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.category-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green, #2e8b3e);
}

.copyable-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: all;
  position: relative;
}

.copyable-wrapper:hover {
  border-color: #2e8b3e;
  background: #f0fdf4;
}

.copyable-wrapper.copied {
  border-color: #16a34a;
  background: #dcfce7;
}

.account-num-text {
  font-family: var(--font-mono, monospace, sans-serif);
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.copy-btn-inline {
  background: transparent;
  border: none;
  color: #2e8b3e;
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

.copy-tooltip {
  display: none;
}

.detail-value {
  font-size: 13.5px;
  color: #334155;
  margin: 0;
  line-height: 1.4;
  font-family: var(--font-sans, system-ui, sans-serif);
}

.pop-action-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  border-left: 3px solid #2e8b3e;
  margin-top: 4px;
}

.pop-action-box i {
  margin-right: 6px;
  color: #2e8b3e;
}

/* Payment Gateways Section */
.payment-gateways-section {
  margin-top: 2rem;
}

.payment-gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gateway-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.gateway-card:hover {
  border-color: #2e8b3e;
  box-shadow: 0 8px 20px rgba(10, 36, 14, 0.08);
  transform: translateY(-2px);
}

.gateway-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gateway-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.gateway-icon-harare {
  background: #e8f5e9;
  color: #2e8b3e;
}

.gateway-external-arrow {
  color: #94a3b8;
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gateway-card:hover .gateway-external-arrow {
  color: #2e8b3e;
  transform: translate(2px, -2px);
}

.gateway-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  font-family: var(--font-sans, system-ui, sans-serif);
}

.gateway-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* Copy Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copy-toast {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-family: var(--font-sans, system-ui, sans-serif);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

