:root {
  --primary-color: #3498db;
  --secondary-color: #080808;
  --light-color: #ecf0f1;
  --dark-color: #34495e;
  --darkgray-color: #a9a9a9;
  --text-color: #333;
  --text-light: #666;
  --font-primary: 'Quicksand', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --transition-normal: 0.3s ease;
  --border-radius-sm: 4px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main.container-fluid {
  padding-top: 70px;
  width: 90%;
  flex: 1 0 auto;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

@font-face {
  font-family: 'Quicksand';
  src: url('/../assets/font/Quicksand/Quicksand-VariableFont_wght.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/../assets/font/Poppins/Poppins-Bold.ttf') format('truetype');
  font-display: swap;
}

h1,
h3 {
  font-family: Poppins;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('/../assets/img/gerbi1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 60px;
  background-color: transparent !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(5px);
  transition: all var(--transition-normal);
}

.navbar-nav {
  margin-left: auto;
}

.navbar-brand,
.nav-link {
  color: var(--secondary-color);
  font-family: var(--font-primary);
  transition: all var(--transition-normal);
  padding: 0.5rem 1rem;
}

.nav-link:hover {
  color: var(--dark-color);
  background-color: rgba(105, 100, 100, 0.2);
  border-radius: var(--border-radius-sm);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
}

.center-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 20px;
  margin-top: 58px;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
  flex-wrap: nowrap;
}

.garuda-image,
.logo-kab-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.logo-kemendesa {
  width: 120px !important;
  height: 120px !important;
  margin: 0 !important;
}

.logo-kab-image {
  animation: slideInLeft 1s ease-out;
}

.garuda-image {
  animation: zoomInFromFar 1.5s ease-out;
}

.logo-kemendesa {
  animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomInFromFar {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }
  50% {
    opacity: 0.5;
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.title-section {
  text-align: center;
  color: antiquewhite;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.title-section span:nth-child(1) {
  font-size: 2.5rem;
  line-height: 1.2;
  font-family: var(--font-secondary);
  font-weight: bold;
}

.title-section span:nth-child(2),
.title-section span:nth-child(3) {
  font-size: 1.5rem;
  line-height: 1.3;
}

.footer-logo-a,
.footer-logo-b,
.footer-logo-c,
.footer-logo-d,
.footer-logo-e,
.footer-logo-f,
.footer-logo-g,
.footer-logo-h {
  opacity: 0;
  animation: slideInFromLeft 0.6s ease-out forwards;
  transition:
    transform 0.6s ease,
    filter 0.3s ease;
  cursor: pointer;
  transform-style: preserve-3d;
}

.footer-logo-a {
  animation-delay: 0s;
}

.footer-logo-b {
  animation-delay: 0.15s;
}

.footer-logo-c {
  animation-delay: 0.3s;
}

.footer-logo-d {
  animation-delay: 0.45s;
}

.footer-logo-e {
  animation-delay: 0.6s;
}

.footer-logo-f {
  animation-delay: 0.75s;
}

.footer-logo-g {
  animation-delay: 0.9s;
}

.footer-logo-h {
  animation-delay: 1.05s;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-logo-a:hover,
.footer-logo-b:hover,
.footer-logo-c:hover,
.footer-logo-d:hover,
.footer-logo-e:hover,
.footer-logo-f:hover,
.footer-logo-g:hover,
.footer-logo-h:hover {
  transform: rotateY(360deg) scale(1.15) !important;
  filter: brightness(1.1) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 15px;
  flex-wrap: wrap;
}

/* Footer Styles */
.footer-glossy {
  background-color: transparent !important;
  backdrop-filter: blur(5px);
  min-height: 80px;
  color: white;
  padding: 10px 0;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(255, 255, 255, 0.5) inset;
  margin-top: auto !important;
  flex-shrink: 0;
  width: 100%;
}

.footer-glossy a {
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-glossy a:hover {
  opacity: 0.8;
}

.footer-logo {
  transition: all var(--transition-normal);
  margin: 0 10px;
}

.footer-logo-a,
.footer-logo-c,
.footer-logo-d,
.footer-logo-f,
.footer-logo-h {
  width: 40px;
  height: auto;
  margin-top: 12px;
}

.footer-logo-b {
  width: 45px;
  height: auto;
  margin-top: 12px;
}

.footer-logo-e {
  width: 50px;
  height: auto;
  margin-top: 12px;
}

.footer-logo-g {
  width: 45px;
  height: 45px;
  margin-top: 12px;
}

.footer-logo:hover {
  transform: scale(1.1);
}

.ft-mb {
  margin-bottom: 5px !important;
}

.cpy-cup {
  color: antiquewhite !important;
}

.cpy-cbo {
  color: antiquewhite !important;
  color: black !important;
}

.logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.dgk-gks {
  display: block;
  font-size: 2.5rem;
  line-height: 1.2;
  font-family: var(--font-secondary);
}

.session-Exp {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  max-width: 80%;
}

.w-ML {
  max-width: 400px;
}

.w-OM {
  max-width: 400px !important;
}

.ML-Log {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.fa-shiled-font {
  font-size: 2rem;
}

.font-oc {
  font-size: 1.2rem !important;
  letter-spacing: 0.3rem !important;
}

.if-oc {
  display: none;
}

.ch-ci {
  cursor: pointer;
  max-height: 60px;
}

.pro-up-pad {
  min-height: calc(100vh - 200px);
}

@media (min-width: 992px) {
  .footer-logo {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    filter: grayscale(0.3) brightness(1);
    opacity: 0.9;
  }

  .footer-logo:hover {
    transform: translateY(-5px) scale(1.15);
    filter: grayscale(0) brightness(1.2);
    opacity: 1;
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
  }

  .footer-logo-a:hover {
    transform: translateY(-5px) scale(1.15) rotate(5deg);
  }
  .footer-logo-b:hover {
    transform: translateY(-5px) scale(1.15) rotate(-5deg);
  }
  .footer-logo-c:hover {
    transform: translateY(-5px) scale(1.15) rotate(3deg);
  }
  .footer-logo-d:hover {
    transform: translateY(-5px) scale(1.15) rotate(-3deg);
  }
  .footer-logo-e:hover {
    transform: translateY(-5px) scale(1.15);
  }
  .footer-logo-f:hover {
    transform: translateY(-5px) scale(1.15) rotate(2deg);
  }
  .footer-logo-g:hover {
    transform: translateY(-5px) scale(1.15);
  }
  .footer-logo-h:hover {
    transform: translateY(-5px) scale(1.15) rotate(-2deg);
  }

  .logo-row:hover .footer-logo {
    animation: logoBounce 0.6s ease forwards;
  }

  .logo-row:hover .footer-logo:nth-child(1) {
    animation-delay: 0.1s;
  }
  .logo-row:hover .footer-logo:nth-child(2) {
    animation-delay: 0.2s;
  }
  .logo-row:hover .footer-logo:nth-child(3) {
    animation-delay: 0.3s;
  }
  .logo-row:hover .footer-logo:nth-child(4) {
    animation-delay: 0.4s;
  }
  .logo-row:hover .footer-logo:nth-child(5) {
    animation-delay: 0.5s;
  }
  .logo-row:hover .footer-logo:nth-child(6) {
    animation-delay: 0.6s;
  }
  .logo-row:hover .footer-logo:nth-child(7) {
    animation-delay: 0.7s;
  }
  .logo-row:hover .footer-logo:nth-child(8) {
    animation-delay: 0.8s;
  }

  @keyframes logoBounce {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(-5px) scale(1.15);
    }
  }
}

@media (max-width: 991.98px) {
  .center-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: 72vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .garuda-image,
  .logo-kab-image,
  .logo-kemendesa {
    width: 150px !important;
    margin: 10px auto 15px !important;
  }

  .title-section {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
  }

  .dgk-gks {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .title-section span:first-child {
    font-size: 1.3rem;
  }

  html,
  body {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  main.container-fluid {
    flex: 1 0 auto;
  }

  .footer-glossy {
    flex-shrink: 0;
    width: 100%;
    background-color: transparent !important;
    backdrop-filter: blur(5px);
    min-height: 80px;
    color: white;
    padding: 40px 0;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.1),
      0 1px 2px rgba(255, 255, 255, 0.5) inset;
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .logo-container {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }

  .garuda-image,
  .logo-kab-image,
  .logo-kemendesa {
    width: 80px !important;
    height: 80px !important;
    max-width: 30%;
  }
  .center-section {
    margin-top: 10px;
    padding-top: 20px;
    margin-bottom: -9%;
  }

  .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 10px 15px !important;
  }

  .nav-link:hover {
    color: var(--text-light) !important;
    background-color: #f8f9fa !important;
  }

  .nav-link.active {
    color: var(--text-color) !important;
    font-weight: 600;
    background-color: #e9ecef !important;
  }

  .navbar-collapse {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }

  .navbar-toggler-icon {
    background-image: url('/pdg_v4/assets/i-svg/toggle-column.svg');
  }

  .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .title-section span:nth-child(1) {
    font-size: 2rem;
  }

  .title-section span:nth-child(2),
  .title-section span:nth-child(3) {
    font-size: 1.2rem;
  }

  .footer-logo {
    width: 35px;
    margin: 5px;
  }
}

@media (max-width: 576px) {
  .logo-container {
    gap: 5px;
  }

  .garuda-image,
  .logo-kab-image,
  .logo-kemendesa {
    width: 70px !important;
    height: 70px !important;
  }

  .center-section {
    margin-top: -3% !important;
    margin-bottom: -9%;
  }

  .title-section {
    margin: 0 0 5px 0 !important;
  }

  .title-section span:nth-child(1) {
    font-size: 1.8rem;
  }

  .title-section span:nth-child(2),
  .title-section span:nth-child(3) {
    font-size: 1rem;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    width: 30px;
  }

  .button-container {
    margin-top: 10px !important;
  }

  .dgk-gks {
    font-size: 1rem;
    line-height: 1.3;
  }

  .title-section span:first-child {
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .logo-container {
    flex-wrap: wrap;
  }
}

.nav-item.dropdown .dropdown-menu {
  display: none;
}

.nav-item.dropdown.show .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: slideDown 0.3s ease-out forwards;
}

.nav-item.dropdown:hover .dropdown-menu-end {
  right: 0;
  left: auto;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-dropdown {
  display: flex;
  align-items: center;
}
.user-name {
  font-weight: 500;
  color: #333;
}
.dropdown-divider {
  margin: 0.3rem 0;
}

.navbar-nav {
  margin-left: auto !important;
}
.navbar-nav.user-menu {
  margin-left: 0 !important;
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-10px);
    opacity: 0;
  }
}

.dropdown-menu {
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
  transition-delay: 0.1s;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 5px 0;
  margin-top: 5px;
}

.dropdown-item {
  padding: 8px 20px;
  color: var(--text-color) !important;
  transition: all var(--transition-normal);
  border-radius: 4px;
  margin: 2px 5px;
}

.dropdown-item:hover {
  background-color: rgba(74, 100, 145, 0.2);
  color: var(--dark-color) !important;
  margin-left: -0.1%;
}

.dropdown-menu.show {
  pointer-events: auto;
  opacity: 1;
}

.navbar .dropdown-menu {
  margin-top: 0 !important;
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    display: none !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 3px 0 3px 15px;
    width: calc(100% - 30px);
    padding: 3px 0;
  }

  .dropdown.show > .dropdown-menu {
    display: block !important;
  }

  .dropdown-item {
    padding: 10px 20px;
  }

  .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 768px) {
  .navbar-nav .nav-item {
    background-color: white !important;
    margin: 0 0;
    border-radius: 5px;
  }
}

/*  BERITA CSS */

.carousel-item img {
  width: 100%;
  height: 400px; /* Atur tinggi sesuai kebutuhan */
  object-fit: cover;
}

.carousel-caption {
  bottom: 10%;
  left: 5%;
  right: 5%;
  padding: 15px;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 250px;
  }

  .carousel-caption {
    bottom: 10%;
    padding: 10px;
  }

  .carousel-caption h5 {
    font-size: 1rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }

  .carousel-caption .btn {
    padding: 3px 8px;
    font-size: 0.7rem;
  }

  main.container-fluid {
    padding-top: 30px !important;
    width: 95%;
  }
}

/* ======== OFFCANCAS ========= */

.offcanvas-admin {
  width: 280px;
  background-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

body.modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

.admin-sidebar-menu {
  margin-top: 20px;
}
.admin-sidebar-menu .nav-link {
  color: #333;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}
.admin-sidebar-menu .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.admin-sidebar-menu .nav-link.active {
  background-color: rgba(0, 0, 0, 0.1);
  font-weight: bold;
}
.admin-sidebar-menu .nav-link i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}
.admin-sidebar-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.2);
}
.btn-toggle-sidebar {
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
}
.btn-toggle-sidebar:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ========= DYNAMIC DASHBOARD ========== */
/* Pastikan konten dinamis tidak overflow */
#dynamic-content {
  overflow-x: auto;
  min-height: 70vh;
}

/* ========= CONTENT BERITA ========== */

.blockquote {
  font-size: 1.2rem;
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
}

.list-group-item {
  transition: all 0.3s ease;
  border-left: none;
  border-right: none;
}

.list-group-item:hover {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

/* ========= CHART ========== */
.chart-container {
  position: relative;
}

/* Untuk chart di modal RT */
.modal .chart-container {
  height: 200px !important;
}

.chartjs-tooltip {
  opacity: 1 !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
  color: white !important;
  border-radius: 4px !important;
  padding: 10px !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease;
}

.chartjs-tooltip-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
}

.chart-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

.chart-legend li {
  display: flex;
  align-items: center;
  margin: 0 10px;
  cursor: pointer;
}

.chart-legend span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 50%;
}

.pdf-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  z-index: 9999;
}

@media print {
  .no-print,
  .modal-footer {
    display: none !important;
  }

  .card {
    border: none !important;
    box-shadow: none !important;
  }
}

.btn-like:disabled {
  cursor: not-allowed;
}

.iFeed {
  color: #ffc107 !important;
}

.captcha-container.blocked {
  display: none !important;
}

.btn-danger:disabled {
  opacity: 1 !important;
  cursor: not-allowed;
}

.btn-danger:disabled:hover {
  background-color: #dc3545;
  border-color: #dc3545;
}

#bansosTable th:nth-child(1),
#bansosTable td:nth-child(1),
#bansosTable th:nth-child(2),
#bansosTable td:nth-child(2),
#bansosTable th:nth-child(6),
#bansosTable td:nth-child(6) {
  width: 200px;
  min-width: 200px;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#bansosResult.show-animation {
  animation: fadeInUp 0.5s ease-out forwards;
}

#bansosTable tbody tr {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

#bansosTable tbody tr.show-row {
  opacity: 1;
  transform: translateY(0);
}

img {
  pointer-events: auto !important;
  -webkit-user-drag: none !important;
}

@media only screen and (max-width: 768px) {
  html,
  body {
    min-height: 80vh;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }

  main.container-fluid {
    padding-top: 0 !important;
    width: 90%;
    flex: 1 0 auto;
    margin: 0 auto;
  }

  .footer-glossy {
    background-color: transparent !important;
    backdrop-filter: blur(5px);
    min-height: 50px;
    color: white;
    padding: 10px 0;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.1),
      0 1px 2px rgba(255, 255, 255, 0.5) inset;
    margin-top: auto !important;
    flex-shrink: 0;
    width: 100%;
  }
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.footer-glossy {
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .navbar .dropdown-menu {
    transform: translateY(-2px);
  }

  .nav-item.dropdown .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.15),
      0 1px 3px rgba(255, 255, 255, 0.2) inset !important;
  }

  .nav-item.dropdown .dropdown-item {
    color: var(--secondary-color) !important;
    background-color: transparent !important;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-sm);
    margin: 3px 10px;
    padding: 10px 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  .nav-item.dropdown .dropdown-item:hover {
    color: whitesmoke !important;
    background-color: rgba(105, 100, 100, 0.2) !important;
    transform: translateX(8px);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }

  .nav-item.dropdown .nav-link.dropdown-toggle {
    background-color: transparent !important;
    border: none !important;
    color: var(--secondary-color) !important;
  }

  .nav-item.dropdown .nav-link.dropdown-toggle:hover {
    background-color: rgba(105, 100, 100, 0.2) !important;
    color: var(--dark-color) !important;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    animation: glassSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }

  @keyframes glassSlideIn {
    from {
      opacity: 0;
      transform: translateY(-15px) scale(0.9);
      backdrop-filter: blur(0px);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
      backdrop-filter: blur(15px);
    }
  }
}

.devtools-modal {
  position: fixed;
  inset: 0;
  background: black;
  color: #ff4444;
  z-index: 999999999999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
}

.hidden {
  display: none !important;
}

.devtools-content {
  text-align: center;
}

.devtools-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.devtools-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

#devtools-refresh {
  padding: 12px 30px;
  font-size: 20px;
  background: #222;
  color: white;
  border: 1px solid #444;
  cursor: pointer;
}


.blocked-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    z-index: 999999999;
}

.blocked-overlay * {
    pointer-events: none;
    user-select: none;
}

