/* ═══════════════════════════════════════════════════════════════════
   github_components.css - Styling for Pinned Projects & Contributions
   Redefined to match the gorgeous glassmorphism UI of index.html
   ═══════════════════════════════════════════════════════════════════ */

/* Section Headers */
.github-section-title {
  font-family: var(--font-h, 'Outfit', sans-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main, #f1f5f9);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── PINNED PROJECTS GRID ───────────────────────────── */
.github-pinned-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .github-pinned-grid {
    grid-template-columns: 1fr;
  }
}

.pinned-item {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  position: relative;
  overflow: hidden;
}

.pinned-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: none;
  pointer-events: none;
}

.pinned-item:hover::before {
  left: 200%;
  transition: all 0.8s ease;
}

.pinned-item:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(99, 102, 241, 0.1);
}

.pinned-item:active {
  cursor: grabbing;
}

.pinned-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pinned-item-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pinned-item-badge {
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  color: var(--text-muted, #8b949e);
  font-weight: 500;
  white-space: nowrap;
}

.pinned-item-top {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.pinned-item-top svg {
  fill: var(--text-muted, #94a3b8);
  margin-right: 8px;
}

.pinned-item-title {
  font-family: var(--font-h, 'Outfit', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main, #f1f5f9);
  text-decoration: none;
  word-break: break-all;
  letter-spacing: 0.5px;
}

.pinned-item-title:hover {
  color: #6366f1;
}

.pinned-item-desc {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 16px;
  flex-grow: 1;
  line-height: 1.5;
}

.pinned-item-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-b, 'Inter', sans-serif);
}

.repo-language-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

/* ── PIN CUSTOMIZATION BUTTON ───────────────────────── */
.customize-pins-btn {
  background: transparent;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.customize-pins-btn:hover {
  background: var(--glass-hover, rgba(26, 31, 60, 0.85));
  color: var(--text-main, #f1f5f9);
  border-color: rgba(99, 102, 241, 0.4);
}

/* ── CONTRIBUTIONS LAYOUT ───────────────────────────── */
#github-activity-section {
  width: 95% !important;
  max-width: 1200px !important;
  margin: 100px auto !important;
  padding: 40px !important;
  background: rgba(8, 10, 24, 0.8) !important;


  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.contributions-layout {
  display: grid;
  grid-template-columns: minmax(700px, auto) 100px;
  gap: 40px;
  position: relative;
  z-index: 1;
  justify-content: center;
}

.contributions-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}




@media (max-width: 1024px) {
  .contributions-layout {
    grid-template-columns: 1fr;
  }
}

/* ── HERO STATS SECTION ────────────────────────────── */
.gh-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.gh-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gh-stat-number {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.gh-stat-label {
  font-family: var(--font-h);
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── YEAR NAVIGATOR (VERTICAL) ──────────────────────── */
.contributions-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.year-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.year-item {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .year-list {
    display: none !important;
  }
}

.year-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.year-item.active .year-dot {
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
  transform: scale(1.4);
}

.year-list a {
  padding: 8px 16px;
  color: var(--text-muted);
  font-family: var(--font-h);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s;
  min-width: 70px;
  text-align: center;
}

.year-list a.active {
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* ── MOBILE YEAR SELECTOR ───────────────────────────── */
.gh-year-selector-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 12px 20px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 30px;
  backdrop-filter: blur(10px);
}

@media (max-width: 1024px) {
  .gh-year-selector-mobile {
    display: flex;
  }
}

.year-display-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.current-year-display {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.year-label {
  font-size: 9px;
  color: #6366f1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mobile-year-toggle {
  display: none;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.year-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  font-family: var(--font-h);
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.3s;
}

.year-toggle-btn:hover {
  color: #fff;
}

.year-toggle-display {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  min-width: 50px;
  text-align: center;
}



/* ── CALENDAR WIDGET OVERRIDE ────────────────────────── */
.calendar {
  background: rgba(10, 15, 30, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
}

.calendar-inner-scroll {
  padding: 0 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 800px;
}

.calendar-month-row {
  display: flex;
  gap: 3px;
  margin-left: 34px;
  font-size: 10px;
  color: var(--text-muted);
  height: 20px;
}

.calendar-main-grid {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.calendar-day-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 95px;
  font-size: 10px;
  color: var(--text-muted);
  padding-top: 1px;
  width: 24px;
  flex-shrink: 0;
  text-align: right;
  margin-right: 2px;
}

.calendar-day-labels span {
  height: 11px;
}

.calendar-graph-container {
  display: flex;
  gap: 3px;
}

.calendar-week-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.calendar-month-cell {
  width: 13px;
  flex-shrink: 0;
  position: relative;
}

.calendar-month-label {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}

.ContributionCalendar-day {
  width: 11px;
  height: 11px;
  margin: 1px;
  border-radius: 2px;
  rx: 2px;
  ry: 2px;
  transition: all 0.2s ease;
}

/* Strict Color Palette (Blue -> Purple -> Magenta) */
.js-calendar-graph-svg .ContributionCalendar-day[data-level="0"],
.calendar .ContributionCalendar-day[data-level="0"] {
  fill: rgba(255, 255, 255, 0.05) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.js-calendar-graph-svg .ContributionCalendar-day[data-level="1"],
.calendar .ContributionCalendar-day[data-level="1"] {
  fill: #1d4ed8 !important; 
  background-color: #1d4ed8 !important;
}

.js-calendar-graph-svg .ContributionCalendar-day[data-level="2"],
.calendar .ContributionCalendar-day[data-level="2"] {
  fill: #3b82f6 !important;
  background-color: #3b82f6 !important;
}

.js-calendar-graph-svg .ContributionCalendar-day[data-level="3"],
.calendar .ContributionCalendar-day[data-level="3"] {
  fill: #8b5cf6 !important;
  background-color: #8b5cf6 !important;
}

.js-calendar-graph-svg .ContributionCalendar-day[data-level="4"],
.calendar .ContributionCalendar-day[data-level="4"] {
  fill: #d946ef !important;
  background-color: #d946ef !important;
}

/* ── ROTATED VERTICAL GRID (MOBILE) ─────────────────── */
.gh-calendar-vertical-rotated {
  width: 100%;
  padding: 20px 10px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.gh-rotated-grid {
  width: 100%;
}

.gh-rotated-grid .ContributionCalendar-day {
  width: 100% !important;
  aspect-ratio: 1;
  height: auto !important;
  margin: 0 !important;
}



/* ── ANALYTICS & REPLAY ────────────────────────────── */
.gh-analytics-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

#gh-analytics {
  display: flex;
  gap: 20px;
  flex: 1;
}

.gh-analytic-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.gh-analytic-card .label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.gh-analytic-card .value {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* ── RESPONSIVE ANALYTICS GRID ──────────────────────── */
.gh-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.gh-analytics-grid .status-card {
  grid-column: span 1;
}
@media (max-width: 768px) {
  .gh-analytics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gh-analytics-grid .status-card {
    grid-column: span 1;
  }
  .gh-analytic-card {
    min-width: 0;
    padding: 15px;
  }
  .gh-analytic-card .value {
    font-size: 16px;
  }
}

.gh-replay-btn {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.gh-replay-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

/* ── CUSTOM NATIVE HOVER TOOLTIP ────────────────────── */
#github-native-tooltip {
  position: absolute;
  display: none;
  background: rgba(10, 15, 35, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main, #f1f5f9);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-family: var(--font-b, 'Inter', sans-serif);
  pointer-events: none;
  z-index: 10000;
  white-space: nowrap;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
}


/* Hide annoying sr-only stuff, raw links, and skip link */
.calendar .sr-only,
.calendar .hide-sm.hide-md.hide-lg,
.calendar a[href*="year-link"],
.calendar header {
  display: none !important;
}

/* ── PIN CUSTOMIZATION MODAL ────────────────────────── */
.pin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pin-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.pin-modal-content {
  background: var(--bg-light, #0a0c1a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.1);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pin-modal-overlay.active .pin-modal-content {
  transform: scale(1) translateY(0);
}

.pin-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pin-modal-header h3 {
  margin: 0;
  font-family: var(--font-h, 'Outfit', sans-serif);
  font-size: 18px;
  color: var(--text-main, #f1f5f9);
}

.pin-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  padding: 4px;
}

.pin-modal-close:hover {
  color: var(--text-main, #f1f5f9);
}

.pin-modal-body {
  padding: 16px 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.pin-modal-body .pin-info {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 16px;
}

.pin-modal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pin-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pin-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
}

.pin-checkbox-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pin-checkbox-item input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
  accent-color: #6366f1;
}

.pin-checkbox-label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.pin-checkbox-title {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main, #f1f5f9);
}

.pin-checkbox-desc {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 12px;
  color: var(--text-muted, #94a3b8);
}

.pin-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  display: flex;
  justify-content: flex-end;
}

.pin-save-btn {
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-b, 'Inter', sans-serif);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pin-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
/* ── HUD ENHANCEMENTS ───────────────────────────────── */
.gh-analytic-card {
  position: relative;
  overflow: hidden;
}

.gh-analytic-glow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
}

.spinner-sync {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── CUSTOM SCROLLBAR FOR CALENDAR ────────────────── */
.scroll-container::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.4);
}

/* Year Toggle (Mobile) */
.gh-year-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 10px;
}

.current-year-display {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.year-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.year-nav-btn:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

.year-nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

/* Vertical Calendar (Mobile) */
.gh-calendar-vertical {
  width: 100%;
  padding: 15px 5px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gh-vertical-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 4px;
}

.gh-vertical-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 0 4px;
}

.gh-vertical-month-row {
  grid-column: span 7;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 15px 0 8px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gh-vertical-grid .ContributionCalendar-day {
  width: 100% !important;
  aspect-ratio: 1/1;
  height: auto !important;
  margin: 0 !important;
}

.gh-vertical-grid .ContributionCalendar-day.empty {
  background: transparent;
  border: none;
}

/* ── RESPONSIVE STYLES ────────────────────────────── */
@media (max-width: 768px) {
  .calendar-inner-scroll {
    min-width: unset;
    flex-direction: row;
    padding: 0;
    gap: 15px;
  }
  .calendar-main-grid {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .calendar-day-labels {
    flex-direction: row;
    height: auto;
    width: 100%;
    margin-right: 0;
    margin-bottom: 2px;
    padding-left: 20px;
    justify-content: space-around;
  }
  .calendar-day-labels span {
    width: auto;
    height: auto;
  }
  .calendar-graph-container {
    flex-direction: column;
    gap: 3px;
  }
  .calendar-week-col {
    flex-direction: row;
  }
  .calendar-month-row {
    flex-direction: column;
    margin-left: 0;
    margin-top: 15px;
    width: 25px;
    height: auto;
  }
  .calendar-month-cell {
    width: auto;
    height: 13px;
  }
  .calendar-month-label {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 1024px) {
  #github-activity-section {
    width: 90% !important;
    padding: 20px !important;
    margin: 40px auto !important;
  }
  .contributions-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contributions-sidebar {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .gh-year-toggle {
    display: flex;
  }
  .mobile-year-toggle {
    display: flex !important;
  }
  .gh-hero-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  .gh-hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  .gh-analytics-row {
    flex-direction: column;
  }
  #gh-analytics {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pinned-grid {
    grid-template-columns: 1fr !important;
  }

}


}

/* ── CALENDAR LOADING OVERLAY ──────────────────────── */
.calendar {
  position: relative;
  transition: opacity 0.5s ease;
}

.calendar.loading-state {
  pointer-events: none;
}

.calendar.loading-state::after {
  content: "RECALIBRATING...";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 11, 20, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 6px;
  z-index: 100;
  border-radius: 20px;
  animation: pulse-sync 1.5s infinite ease-in-out;
}

.calendar-wrapper, .gh-calendar-vertical-rotated {
  animation: neural-fade-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes neural-fade-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes pulse-sync {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.gh-analytic-card .value {
  transition: transform 0.3s ease, color 0.3s ease;
}
