/* Dropdown Styling */
details.dropdown {
  position: relative;
}

details.dropdown > summary {
  list-style: none;
  cursor: pointer;
}

details.dropdown > summary::-webkit-details-marker {
  display: none;
}

details.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 8px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

details.dropdown[open] .dropdown-menu {
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu .btn {
  text-align: left;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--fg);
  font-size: 14px;
}

.dropdown-menu .btn:hover {
  background: rgba(0,0,0,0.04);
}

/* Active Squad Card Border */
.card-active-border {
  border-color: rgba(44, 208, 86, 0.6) !important; /* Force override glass border */
  box-shadow: 0 8px 30px rgba(44, 208, 86, 0.15) !important;
}
