/* Dashboard Global Impact redesign */
.gi-wrapper {
  position: relative;
  isolation: isolate;
  padding: 58px 28px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  background-color: #020617;
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 0 70px rgba(2, 132, 199, 0.08);
}

.gi-wrapper::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(14, 165, 233, 0.2), transparent 34%),
    radial-gradient(circle at 86% 82%, rgba(37, 99, 235, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(2, 6, 23, 0.88), rgba(3, 7, 18, 0.72));
  pointer-events: none;
}

.gi-wrapper > * {
  position: relative;
  z-index: 1;
}

.gi-header {
  position: relative;
  padding: 1.55rem 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% -50%, rgba(56, 189, 248, 0.2), transparent 58%),
    linear-gradient(145deg, #050b18 0%, #020617 58%, #01030a 100%) !important;
  color: #dbeafe;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px rgba(14, 165, 233, 0.08);
}

.gi-header::before,
.gi-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2563eb 18%, #38bdf8 52%, #0ea5e9 82%, transparent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.gi-header h4 {
  margin-bottom: 0.65rem !important;
  background: linear-gradient(90deg, #bfdbfe, #38bdf8 48%, #60a5fa);
  color: transparent;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 850;
  letter-spacing: 0.025em;
  background-clip: text;
  -webkit-background-clip: text;
}

.gi-header small {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  color: #d6e5f7;
  font-size: clamp(0.92rem, 1.45vw, 1.08rem) !important;
  line-height: 1.65;
}

.gi-row-equal > [class*="col-"] {
  display: flex;
}

.gi-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 205px;
  padding: 1.7rem 1.45rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% -16%, rgba(14, 165, 233, 0.16), transparent 46%),
    linear-gradient(145deg, #050a14 0%, #020617 58%, #010308 100%) !important;
  color: #f8fafc;
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 0 24px rgba(14, 165, 233, 0.055);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gi-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  right: -68px;
  bottom: -76px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.14);
  filter: blur(6px);
}

.gi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.62);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(14, 165, 233, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.gi-title {
  margin-bottom: 0.75rem;
  color: #7dd3fc;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gi-value {
  background: linear-gradient(90deg, #dbeafe, #38bdf8 52%, #60a5fa);
  color: transparent;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 5px 14px rgba(14, 165, 233, 0.16));
}

.gi-list {
  width: min(100%, 255px);
  margin: 0.1rem auto 0;
  padding-left: 1.65rem;
  color: #e2e8f0;
}

.gi-list li {
  margin-bottom: 0;
  padding: 0.28rem 0.2rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.25;
}

.gi-list li:last-child {
  border-bottom: 0;
}

.gi-list li::marker {
  color: #38bdf8;
  font-weight: 850;
}

@media (max-width: 767px) {
  .gi-wrapper {
    padding: 34px 14px;
    border-radius: 20px;
  }

  .gi-header {
    margin-bottom: 1.25rem;
    padding: 1.3rem 1rem;
    border-radius: 17px;
  }

  .gi-header small {
    font-size: 0.88rem !important;
    line-height: 1.55;
  }

  .gi-card {
    min-height: 158px;
    padding: 1.35rem 1.1rem;
    border-radius: 17px;
  }

  .gi-title {
    font-size: 0.7rem;
    letter-spacing: 0.055em;
  }

  .gi-value {
    font-size: 1.75rem;
  }
}
