﻿/* ============================================================
   globe.css â€” Identity Infrastructure Globe section
   Layout:
     Left  col â†’ dark bg, heading + para (top) + dropdown (bottom)
     Right col â†’ dark bg, globe only
   ============================================================ */

/* â”€â”€ Section wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#globe-section {
  background: #0d0d0d;
}

/* Make the Bootstrap row fill the section height */
/* #globe-section .row {
  min-height: 520px;
} */

/* â”€â”€ Left text column â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.globe-text-col {
  /* justify-content: space-between; */
  /* padding: 48px 32px 0 12px; */
  /* border-right: 1px solid rgba(255, 255, 255, 0.08); */
}

/* Top block: heading + para */
/* .globe-text-inner {
  flex: 1;
} */

.globe-text-inner .subHeading {
  color: #ffffff;
}

.globe-text-para {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* â”€â”€ Dropdown â€” bottom of left col â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#globe-ui-bar {
  padding: 8px 0;
  border-bottom: 1px solid var(--layoutBorderColor);
  margin-top: 10px;
  width: 230px;
}

.globe-select-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

#countrySelect {
  appearance: none;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-family: var(--font-primary, inherit);
  font-weight: 400;
  padding: 0;
  width: 100%;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.01em;
}

#countrySelect:hover,
#countrySelect:focus {
  color: #ffffff;
}

#countrySelect option {
  background: #111;
  color: #e0e0e0;
}

/* Arrow â†’ */
.globe-select-arrow {
  color: var(--secondaryMastercolor, #f66320);
  font-size: 18px;
  pointer-events: none;
  line-height: 1;
  flex-shrink: 0;
}

/* â”€â”€ Right globe box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.globe-viz-col {
  position: relative;
  height: 100%;
  min-height: 520px;
  background: #0d0d0d;
  overflow: hidden;
}

/* Globe canvas fills the viz col */
#globeViz {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
}

/* Globe.gl internal canvas */
#globeViz canvas {
  display: block;
}

/* SVG overlay */
#svgOverlay {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
}

/* â”€â”€ Country info panel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#globeInfoPanel {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 290px;
  overflow-y: auto;
  padding: 26px 22px 24px;
  background: rgba(28, 28, 32, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset;
  transform: translateX(calc(100% + 24px));
  opacity: 0;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

#globeInfoPanel::-webkit-scrollbar {
  width: 4px;
}
#globeInfoPanel::-webkit-scrollbar-track {
  background: transparent;
}
#globeInfoPanel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

#globeInfoPanel.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

#globeInfoTitle {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  padding-right: 32px;
  letter-spacing: -0.01em;
}

.globe-panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.globe-panel-subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.globe-doc-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.globe-doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 12px;
  transition: background 0.18s ease;
}

.globe-doc-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.globe-doc-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondaryMastercolor, #f66320);
  flex-shrink: 0;
}

.globe-doc-icon svg {
  width: 16px;
  height: 16px;
}

#globeInfoClose {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

#globeInfoClose:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* â”€â”€ Loading overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#globeLoader {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
  transition: opacity 0.6s ease;
}

#globeLoader.hidden {
  opacity: 0;
  pointer-events: none;
}

.globe-loader-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: globeSpin 0.9s linear infinite;
}

.globe-loader-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Boundary disclaimer note */
/* .globe-boundary-note {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.4;
  pointer-events: none;
  z-index: 10;
} */

@keyframes globeSpin {
  to {
    transform: rotate(360deg);
  }
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 991.98px) {
  /* #globe-section .row {
    min-height: unset;
  } */

  .globe-text-col {
    padding: 40px 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #globe-ui-bar {
    margin-top: 24px;
  }

  .globe-viz-col {
    min-height: 380px;
    height: 380px;
  }

  #globeInfoPanel {
    width: 100%;
    right: 0;
  }
}
