:root {
    --bg-color: #0a0a0a;
    --honey-yellow: #ffcc00;
    --text-dim: #cccccc;
    --border-style: 1px solid #333;
}


.back-btn:hover svg {
  transform: translateX(-3px);
  transition: transform 0.2s ease;
}


* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-dim);
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.0rem;
    line-height: 1.6;
}


/* Header */
.slim-header {
    background: #000;
    border-bottom: 2px solid var(--honey-yellow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content { display: flex; align-items: center; gap: 10px; }
.header-content h1 { font-size: 0.9rem; color: var(--honey-yellow); text-transform: uppercase; }

a {
    color: var(--honey-yellow);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 15px;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 15px;
}

nav a.highlight { color: var(--honey-yellow); font-weight: bold; border: 1px solid var(--honey-yellow); padding: 2px 5px; }


a.boxed { font-size:18px; color: var(--honey-yellow); font-weight: bold; border: 1px solid var(--honey-yellow); padding: 2px 5px; }

a.boxedauto { color: var(--honey-yellow); font-weight: bold; border: 1px solid var(--honey-yellow); margin:0; padding: 2px; }

a.link { font-size:18px; color: var(--honey-yellow); font-weight: bold; border-bottom: 1px solid var(--honey-yellow); margin:0; padding: 0; }

ul {
    margin-left: 30px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: radial-gradient(circle at center, #1a1a00 0%, #0a0a0a 70%);
}

.ascii-art {
    color: var(--honey-yellow);
    white-space: pre-wrap;
    margin-bottom: 1rem;
    font-family: monospace, "Courier New", Courier; 
    line-height: 1.2;         
    white-space: pre;          
    padding: 20px;
    border-radius: 5px;
    display: inline-block;
    text-align: left;
}

.badge {
    display: inline-block;
    background: var(--honey-yellow);
    color: black;
    padding: 5px 15px;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 2rem;
}

.card {
    border: var(--border-style);
    padding: 1.5rem;
    background: #111;
}

.cardlink {
    border: var(--border-style);
    padding: 1.5rem;
    background: #111;
    cursor: pointer;
}

.cardjob {
    border: 1px solid #444;
    padding: 1.5rem;
    background: #222;
}

.card h3 { color: var(--honey-yellow); margin-bottom: 1rem; border-bottom: 1px solid #222; }

/* Terminal View */
.textblock-body {
    padding: 15px;
    font-size: 1.2rem;
}

/* Terminal View */
.terminal-view {
    margin: 2rem;
    background: #000;
    border: 1px solid #444;
    border-radius: 5px;
    overflow: hidden;
}

.terminal-header {
    background: #333;
    padding: 5px 15px;
    font-size: 0.8rem;
    color: #eee;
}

.terminal-body {
    padding: 15px;
    font-size: 0.9rem;
}

/* Utilities */
.yellow { color: var(--honey-yellow); }
.green { color: #00ff00; }
.red { color: #ff0000; }
.lightblue { color: #279FF5; }

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.7rem;
    border-top: var(--border-style);
}

/* Harmonica table */
.hive-config-table {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    font-family: 'Courier New', Courier, monospace;
    background-color: #1a1a1a;
    color: #ddd;
    border: 1px solid #444;
}

.config-header {
    background-color: #2d2d2d;
    cursor: pointer;
    transition: background 0.3s;
}

.config-header:hover {
    background-color: #3d3d3d;
}

.config-header td {
    padding: 12px;
    border-bottom: 1px solid #444;
    font-weight: bold;
}

.config-divider {
    background-color: #2d2d2d;
    transition: background 0.3s;
    border-bottom: 1px solid #444;
    height: 14px;
}

.file-tag {
    color: #ffcc00; /* HoneyBee Yellow */
    margin-right: 10px;
}

.toggle-link {
    float: right;
    color: #00bcff;
    font-size: 0.8em;
    text-decoration: underline;
}

.config-content {
    display: none; /* Hidden by default */
    background-color: #000;
}

.config-content td {
    padding: 0;
}

.code-block {
    position: relative; /* CRITICAL: Acts as the anchor for the icon */
    padding: 15px;
    padding-right: 40px; /* Prevents text from overlapping with the icon */
    margin: 0;
    white-space: pre-wrap;
    color: #00ff00; /* Terminal Green */
    font-size: 0.9em;
    border-left: 3px solid #ffcc00;
    background: #1e1e1e; /* Example dark background for terminal theme */
}

.status-active { color: #00ff00; }
.status-never { color: #ff4444; }

.upvote-btn { color: #ff4500; } /* Reddit-style orange */
.downvote-btn { color: #7193ff; } /* Periwinkle blue */



/* Tooltip container */
.tooltip-container {
  position: relative;
  cursor: help;
  display: inline-block;
  /* Ensure the container itself is above other rows when hovered */
}

.tooltip-container:hover {
  z-index: 99; 
}

.tooltip-container::after {
  content: attr(data-tooltip);
  position: absolute;
  
  /* Vertical alignment stays the same */
  bottom: 130%; 
  
  /* Horizontal: Align the right edge of the tooltip 
     to the right edge of the icon */
  right: 0;
  left: auto; /* Overrides the previous left: 50% */
  
  /* Remove the transform as we are pinned to the right now */
  transform: none; 
  
  /* Styling */
  background-color: #FFF;
  color: #000;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  
  /* Visibility */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 100;
}

/* Adjust the arrow to sit on the right side under the (?) */
.tooltip-container::before {
  content: "";
  position: absolute;
  bottom: 110%;
  right: 5px; /* Puts the arrow right under the icon */
  left: auto;
  transform: none;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
}

/* Show on hover */
.tooltip-container:hover::after,
.tooltip-container:hover::before {
  opacity: 1;
  visibility: visible;
}


.bee-footer {
  background-color: #1a1a1a; /* Deep Charcoal Black */
  color: #f1f1f1;
  padding: 40px 0 20px 0;
  font-family: sans-serif;
  border-top: 4px solid #ffcc00; /* Honey Yellow Stripe */
  margin-top: 50px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer-column {
  margin-bottom: 20px;
  min-width: 150px;
}

.footer-column h3 {
  color: #ffcc00; /* Yellow Headings */
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #ffcc00; /* Turns yellow on hover */
  padding-left: 5px; /* Tiny "nudge" effect */
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #666;
}

img.screenshot {
    border: solid 1px #888;
}


/* Mobile Adjustments */
@media (max-width: 600px) {
    .slim-header { flex-direction: column; text-align: center; }
    nav { margin-top: 10px; }
    .ascii-art { font-size: 0.5rem; }
    .hive-config-table { width: 100%; }
}