/* Core Styling & Variables */
:root {
    --bg-color: #0d0d0d;
    --text-color: #f5f5f5;
    --accent-color: #ffffff;
    --border-color: #333333;
    --nav-link-color: #fdd362;
    --western-font: 'Zilla Slab', serif;
    --body-font: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
.western-title {
    font-family: var(--western-font);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* Login Page Specifics */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    text-align: center;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px;
    font-family: var(--body-font);
    outline: none;
}

input:focus {
    border-color: var(--accent-color);
}

.btn {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 12px;
    font-family: var(--western-font);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: #ccc;
}

/* Main Dashboard Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #888;
}

/* Utility: use site nav link color for standalone links */
.nav-link-color {
    color: var(--nav-link-color);
    text-decoration: none;
}
.nav-link-color:hover {
    text-decoration: underline;
}

.logout {
    font-family: var(--western-font);
    border-bottom: 1px solid var(--text-color);
}

/* Content Layout */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.section {
    margin-bottom: 50px;
}

.section .western-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 40px 0;
}

/* Specific Section Styles */
.agenda-item {
    margin-bottom: 20px;
}

.agenda-item h3 {
    margin-bottom: 5px;
    color: #ccc;
}

.attendee-list {
    list-style: none;
}

.attendee-list li {
    padding: 10px 0;
    border-bottom: 1px solid #222;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    margin-bottom: 5px;
}

.archive-links a {
    color: var(--accent-color);
    text-decoration: none;
    line-height: 2;
}

.archive-links a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid var(--border-color);
}


/* Enable smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* --- Revised Integrated Minimap CSS --- */
#minimap {
    position: fixed; /* Keep it fixed on the screen */
    left: 30px;
    
    /* !!! CHANGE THIS VALUE !!! to your site header's height in pixels */
    top: 100px; 
    
    width: 210px; /* A narrow width that floats on top */
    height: calc(100vh - 100px); /* Adjust to full height minus the header */
    background-color: transparent; /* !!! NO SEPARATE BACKGROUND COLOR !!! */
    
    /* Ensure it floats on top of everything else */
    z-index: 9999; 
    
    padding: 15px 15px; /* Minimal padding for a tight layout */
    box-sizing: border-box;
    overflow-y: auto; /* Adds a clean scrollbar if the list is long */
    
    /* Subtle background overlay behind the text itself for readability */
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0)); 
    border-radius: 0 5px 5px 0;
}

/* Minimalist scrollbar for the floating list */
#minimap::-webkit-scrollbar {
  width: 4px;
}
#minimap::-webkit-scrollbar-track {
  background: transparent; 
}
#minimap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2); 
  border-radius: 2px;
}

/* --- Minimap Content Styling (Smaller & White) --- */
#minimap strong {
    display: block;
    color: rgba(255, 255, 255, 0.5); /* Dimmed white for the title */
    margin-bottom: 12px;
    font-size: 0.75rem; /* SMALLER font */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: normal;
}

#minimap a {
    display: block;
    color: #ffffff; /* !!! TRUE WHITE TEXT !!! */
    text-decoration: none;
    margin-bottom: 10px; /* Tight line spacing */
    font-size: 0.8rem; /* !!! SMALLER font !!! */
    line-height: 1.3;
    font-weight: normal;
    transition: color 0.15s ease;
}

/* Hover style (making it pop but staying clean) */
#minimap a:hover {
    color: #fdd362;
    font-weight: bold;  
}


/* --- YOUR EXISTING CONTENT STYLING --- */
/* You MUST find whatever wraps your main page text (e.g., <main>, .container)
   and ensure it has NO large left margin now. 
   We want the content to run close to the left side of the screen.
*/
.your-main-content-wrapper {
    /* REMOVE or REDUCE this value from previous version */
    margin-left: 20px; 
    padding: 20px;
    max-width: 900px; /* Make sure it doesn't span full width */
}

/* Keep this for jumping without hitting the top of the viewport */
h2 {
    scroll-margin-top: 120px; 
}

/* --- Mobile Adjustments --- */
@media screen and (max-width: 768px) {
    /* Hide the minimap completely on screens smaller than 768px (tablets/phones) */
    #minimap {
        display: none !important;
    }
}