/* Google Font Import: Poppins */
@font-face {
  font-family: 'Candle';
  src: url('../fonts/Candle.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-candle {
  font-family: 'Candle', sans-serif;
}
.font-lightblue {
  color:#34d2ee;
}
.font-green {
  color:#00e400;
}
.font-greenish {
  color:#cadf0f;
}
.bg-custom-black {
    background-color: #080e16 !important;
}
.bg-custom-black1 {
    background-color: #0a1018 !important;
}
.tight-text{
  letter-spacing: -1px;
}
.feature-card {
    display: flex;
    align-items: flex-start;
}

.feature-card img {
    width: 125px;
    height: 125px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1.5rem; /* same as Bootstrap me-4 */
}
.icon-img{
  width: 125px;
    height: 125px;
    object-fit: contain;
}
@media(max-width:575px){
  .mobile-justified p,
  .mobile-justified h5{
    text-align: justify;
  }
  .icon-img{
    width: 125px;
    height: 125px;
  }
}

.feature-text h5 {
    line-height: 1.2;
}

.feature-text p {
    margin-bottom: 0;
}
/* DataUniversa gradient (vertical top → bottom) */
.bg-universa-gradient {
  background: linear-gradient(
    180deg,
     hsl(45, 40%, 20%) 0%,
    #1a1a1a 55%,
    #000000 100%
  );
}
.bg-universa-gradient1 {
  background: linear-gradient(
    180deg,
    hsl(45, 40%, 20%) 0%,
    #1a1a1a 6%,
    #000000 13%
  );
}
/*browse categories*/
.bg-cards{
  background-color: #15161a;
}
/* why buy from datauniversa */
.bg-blackish{
  background-color: #0f1219  /*0d1014;*/
}
.bg-blackish-card{
  background-color: #0d1114;
}
/*datflash color*/
.bg-datflash{
  background-color: #1a2b3a;
}
.bg-dat-card{
  background-color: #080808;
}
.bg-du-dark {
  background-color: #2b2107 66%;
}

/* 4 Custom Text Colors */
.text-blue {
  color: #0033A0; /* Example Navy Blue */
}

.text-warning-yellow {
  color: #ecbf3c;
}

.text-light-cyan {
  color: #00E5FF;
}

.text-soft-white {
  color: #F2F2F2;
}

/* Custom Font: Candle */
@font-face {
  font-family: 'Candle';
  src: url('../fonts/Candle.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-candle {
  font-family: 'Candle', sans-serif;
}


/*dashboard css*/
/* Custom styles for elements that can't be achieved with Bootstrap utilities */

/* CSS Variables for color scheme */
:root {
  --bg: #02010a;
  --bg-elevated: #050816;
  --card: #050816;
  --border-subtle: #262626;
  --accent: #facc15;          /* gold */
  --accent-soft: rgba(250, 204, 21, 0.18);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --danger: #fb7185;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.9);
}


/* Base styles */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #02010a 45%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
}

/* App layout */
.app-shell {
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  border-right: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #02010a 0%, #050816 55%, #02010a 100%);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 0%, #facc15, #f59e0b 40%, #02010a 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fefce8;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f9fafb;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-soft);
}

.nav-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin: 16px 0 8px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.12s ease, color 0.12s ease, transform 0.05s ease;
}

.nav-item span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, var(--accent), #fed7aa 60%, transparent 100%);
  opacity: 0;
}

.nav-item.active {
  background: rgba(10, 10, 10, 0.95);
  color: #f9fafb;
  transform: translateY(-0.5px);
}

.nav-item.active .nav-item-dot {
  opacity: 1;
}

.nav-item:hover {
  background: rgba(10, 10, 10, 0.8);
  color: #f9fafb;
}

.filters-card {
  padding: 12px 10px 12px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top, rgba(250, 204, 21, 0.14), transparent 55%),
    radial-gradient(circle at bottom, rgba(180, 83, 9, 0.12), transparent 55%),
    #050816;
  border: 1px solid rgba(250, 204, 21, 0.25);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.9);
}

.filter-label {
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.filter-select {
  background: rgba(10, 10, 10, 0.95);
  color: var(--text-main);
  border: 1px solid rgba(82, 82, 82, 0.9);
}

.sidebar-footer {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(82, 82, 82, 0.7);
  font-size: 11px;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(250, 204, 21, 0.4);
  font-size: 11px;
  color: var(--text-muted);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, var(--accent), #fef9c3 60%, transparent 90%);
}

/* Main content */
.main {
  overflow-x: hidden;
}

.main-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.main-subtitle {
  font-size: 13px;
  color: var(--text-soft);
}

.main-description {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Aggregation toggle */
.agg-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.agg-btn {
  border-radius: 999px;
  border: 1px solid rgba(82, 82, 82, 0.8);
  background: rgba(15, 15, 15, 0.9);
  color: var(--text-muted);
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.custom-modal-bg {
  background-color: #0b101b !important;
}

.agg-btn-active {
  border-color: rgba(250, 204, 21, 0.9);
  background: rgba(250, 204, 21, 0.16);
  color: #fefce8;
}

/* KPI Cards 
.kpi-card {
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.2), transparent 55%),
              radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.95), #02010a 70%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
/* KPI cards hover interaction 
.kpi-card {
  border: 1px solid rgba(255, 215, 0, 0.25); /* subtle gold border 
  border-radius: 16px;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}*/
.kpi-card {
  padding-left: 18px;
  padding-right: 18px;
  transition: padding 0.25s ease;

  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.2), transparent 55%),
              radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.95), #02010a 70%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}



.kpi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(250, 204, 21, 0.14), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.kpi-card-inner {
  position: relative;
  z-index: 1;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.kpi-card:hover .kpi-card-inner {
  transform: scale(1.025); /* smaller + safe */
}

.kpi-card:hover {
  padding-left: 20px;
  padding-right: 20px;
  box-shadow:
    inset 0 0 0 1px rgba(245, 197, 66, 0.8),
    0 14px 32px rgba(0, 0, 0, 0.65);
}


.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.kpi-pill {
  font-size: 10px;
  border-radius: 999px;
  padding: 3px 7px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  background: rgba(10, 10, 10, 0.95);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kpi-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, var(--accent), #fef9c3 60%, transparent 90%);
}

.kpi-value {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.kpi-unit {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-soft);
  letter-spacing: 0.12em;
}

.kpi-subtext {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Panels */
.panel {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.09), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
}

.panel-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.panel-subtitle {
  font-size: 11px;
  color: var(--text-soft);
}

/* Chart */
.chart-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-bars {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-radius: 10px;
  padding: 8px 10px 6px;
  background: radial-gradient(circle at bottom, rgba(12, 12, 12, 0.9), #02010a 70%);
  border: 1px solid rgba(82, 82, 82, 0.9);
  overflow-x: auto;
}

.chart-bar {
  flex: 0 0 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.chart-bar-rect {
  width: 100%;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(to top, #f59e0b, #facc15, #fef3c7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
  transition: opacity 0.12s ease, transform 0.12s ease;
  min-height: 10px;
}

.chart-bar-label {
  font-size: 9px;
  color: var(--text-soft);
  text-align: center;
  white-space: nowrap;
}

.chart-bar-value {
  font-size: 10px;
  color: var(--text-muted);
}

.chart-legend {
  font-size: 10px;
  color: var(--text-soft);
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(82, 82, 82, 0.8);
  background: rgba(10, 10, 10, 0.95);
}

.legend-swatch {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(to right, #facc15, #fbbf24);
}

/* Table */
.table-wrapper {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: #050816;
  max-height: 260px;
  overflow-y: auto;
}

.table {
  font-size: 12px;
  margin-bottom: 0;
}

.table thead th {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: normal;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px solid rgba(82, 82, 82, 0.9);
  color: #9ca3af;
  position: sticky;
  top: 0;
  z-index: 2;
}

.table tbody tr:nth-child(even) {
  background: rgba(10, 10, 10, 0.7);
}

.table tbody tr:nth-child(odd) {
  background: rgba(10, 10, 10, 0.95);
}

.table tbody tr:hover {
  background: rgba(0, 0, 0, 0.98);
}

.table tbody td {
  border-top: 1px solid rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid rgba(10, 10, 10, 0.8);
  color: var(--text-muted);
}
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(226, 222, 222, 0.8);

  color: var(--text-soft);
  background: rgba(10, 10, 10, 0.95);
}

.tag-strong {
  border-color: rgba(250, 204, 21, 0.9);
  color: #fefce8;
  background: rgba(17, 17, 20, 0.95);
}

/* Insights */
.insight-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(82, 82, 82, 0.8);
  color: var(--text-soft);
  font-size: 10px;
  background: rgba(10, 10, 10, 0.95);
}

.insight-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #facc15, #f97316 60%, transparent 90%);
}

.insight-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.insight-list li {
  display: flex;
  gap: 6px;
}

.insight-bullet {
  font-size: 10px;
  color: #facc15;
  margin-top: 2px;
}

/* Compare */
.compare-panel {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.compare-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.09), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.compare-card {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.12), transparent 55%),
              #050816;
  font-size: 12px;
}

.compare-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.compare-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.compare-select {
  background: rgba(10, 10, 10, 0.95);
  color: var(--text-main);
  border: 1px solid rgba(82, 82, 82, 0.9);
}

/* Responsive adjustments */
/* Custom sidebar width - in between original and wider */
@media (min-width: 768px) {
  .sidebar {
    width: 28% !important; /* Between 25% (col-3) and 33% (col-4) */
    max-width: 28% !important;
  }
  .main {
    width: 72% !important; /* Remaining space */
    max-width: 72% !important;
  }
}

@media (min-width: 992px) {
  .sidebar {
    width: 20% !important; /* Between 16.67% (col-2) and 25% (col-3) */
    max-width: 20% !important;
  }
  .main {
    width: 80% !important; /* Remaining space */
    max-width: 80% !important;
  }
}