nav.menu, nav.menu ul {
  flex-direction: column;
}
@media (min-width: 576px) {
  nav.menu, nav.menu ul {
    flex-direction: row;
  }
}
abc {

  background-color: antiquewhite;
}
.is-active {
  font-weight:bold;
}
.notification.is-danger {
  border: 1px solid var(--pico-form-element-invalid-active-border-color);
  color:  var(--pico-form-element-invalid-active-border-color);
  padding: 16px;
}

.alert {
  padding: 20px;
  background-color: hsl(207, 90%, 54%);
  color: white;
}
.alert.danger{
  background-color:hsl(4, 90%, 58%);
}
.alert.success{
  background-color:hsl(158, 95%, 34%);
}

.alert.warning{
  background-color:hsl(36, 100%, 50%);
}
.alert.info{
  background-color:rgb(33, 150, 243)
}
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

.admin-menu.admin-menu.admin-menu {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr; /* First column max 300px, second grows */
  gap: 20px;
}

/* Toast */
/* //TODO NOT WORKING */

figure.image > img {
  border-radius:12px;
}

/*OSINT FEED */
 /* --- OSINT Console Styling (Fixed Position) --- */
 #osint-feed-container {
  color: var(--gnosis-green);
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: clamp(300px, 90vw, 400px); /* Responsive size */
  background-color: rgba(0, 0, 0, 0.95);
  border: 2px solid var(--gnosis-green);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
  padding: 10px;
  border-radius: 6px;
  z-index: 1000;
  overflow: hidden;
  animation: flicker 0.1s infinite alternate; /* Subtle flicker */
  transition: height 0.3s ease-in-out; /* Smooth collapse */
  height: 320px; /* Default height */
  display: flex; /* Enable flexbox for predictable vertical layout */
  flex-direction: column;
}

/* Minimized state styles */
#osint-feed-container.minimized {
  height: 60px; /* Smallest height when minimized (Header + Button) */
}

.osint-header {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Explicitly define header space to guarantee fit */
  padding-bottom: 5px; 
  min-height: 32px; /* Ensure space for content */
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.8);
  color: white;
  border-bottom: 1px dashed var(--gnosis-green);
}

.osint-title {
  font-size: 0.9em;
}

#minimize-btn {
  background: none;
  border: none;
  color: var(--gnosis-green);
  font-size: 0.8em;
  cursor: pointer;
  padding: 0 5px;
  transition: color 0.1s;
}
#minimize-btn:hover {
  color: white;
}


#feed-log {
  /* Flex-grow to fill available space when maximized */
  flex-grow: 1; 
  /* max-height: 150px; Cap maximum height */
  overflow-y: scroll;
  padding-right: 5px;
  font-size: 0.85em;
  list-style: none;
  padding-left: 0;
  margin-top: 5px;
  margin-bottom: 5px; /* Reduced margin */
  transition: opacity 0.3s ease-in-out; 
  color: var(--gnosis-green);
}

/* Hide log when minimized */
#osint-feed-container.minimized #feed-log {
  height: 0;
  opacity: 0;
  margin-bottom: 0;
  margin-top: 0;
  visibility: hidden;
  flex-grow: 0; /* Remove space taken by log */
}
/* Show log when not minimized */
#osint-feed-container:not(.minimized) #feed-log {
  opacity: 1;
  visibility: visible;
}

#feed-log li {
  padding: 2px 0;
  opacity: 0; 
  transition: opacity 0.5s ease-in-out;
  text-shadow: 0 0 1px rgba(0, 255, 65, 0.8);
}

/* Scrollbar to match CRT theme */
#feed-log::-webkit-scrollbar {
  width: 4px;
}
#feed-log::-webkit-scrollbar-thumb {
  background-color: var(--gnosis-green);
  border-radius: 2px;
}
#feed-log::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Call to Action Button - VITAL FIXES HERE */
#signup-btn {
  background-color: var(--gnosis-green);
  color: var(--gnosis-dark);
  border: none;
  width: 100%;
  /* Lock the position to be certain it appears */
  display: block !important;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
  /* height: 30px; Fixed height for reliable fitting in minimized state */
  line-height: 30px;
  font-weight: bold;
  box-shadow: 0 0 10px var(--gnosis-green);
  transition: all 0.2s;
  padding: 12px;
}
#signup-btn:hover {
  background-color: white;
  box-shadow: 0 0 20px var(--gnosis-green);
}

/* Scanline Effect on Console */
#osint-feed-container::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 3px;
  z-index: 1001;
  pointer-events: none;
  border-radius: 6px;
}

/* Flicker Animation */
@keyframes flicker {
  0% { opacity: 0.99; }
  50% { opacity: 1; }
  100% { opacity: 0.99; }
}

:root {
  --gnosis-green: #00ff41; /* Phosphor Green */
  --gnosis-dark: #111;
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: min(360px,80vw);
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.question-mark {
  --color: hsl(270, 80% ,50%);
  border: 3px var(--color) dotted;
  border-radius: 2rem;
  padding: 4px 12px;
  background-color: hsl(270, 80% ,95%);
  color:  var(--color);
}


/* COmmand Center Index page */
/* Scoped to Command Center to avoid conflicts */
.command-center {
    --gold: #d4af37;
    --terminal-green: #4caf50;
    --panel-bg: rgba(255, 255, 255, 0.03);
}

.command-center .card-panel {
    background: var(--panel-bg);
    border: 1px solid var(--pico-muted-border-color);
    padding: 1.5rem;
    border-radius: var(--pico-border-radius);
    height: 100%;
}

.command-center .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--pico-primary);
    line-height: 1;
}

.command-center .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pico-muted-color);
}

.command-center .data-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.command-center .data-label {
    font-weight: bold;
    font-size: 0.9rem;
}

.command-center .data-value {
    font-family: monospace;
    font-size: 0.85rem;
}
.level-name-glow {
  padding:4px;
        text-shadow: 0 0 10px hsl(130,80%,80%) ;
        letter-spacing: 1px;
        color: hsl(130,80%,40%) ;
    }
