.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  width: 100%;
}

.theme-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 2px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
}

.theme-card img { width: 100%; display: block; }
.theme-card .info { padding: 12px; color: #0f172a; }
.theme-card h3 { margin: 0 0 6px 0; font-size: 1.1rem; }
.theme-card p { margin: 0 0 10px 0; font-size: 0.9rem; color: #475569; }

.theme-actions { display: flex; gap: 8px; }
.theme-actions .nav-btn { padding: 8px 12px; font-size: 0.9rem; }

/* Dropdown styles (from settings) */
.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  z-index: 99999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  color: #334155;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
}

.dropdown-item:active {
  background: rgba(59, 130, 246, 0.2);
}

.dropdown-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}




