/**
 * Unified Header + Dropdown Styling
 * (Everything matches .info-wrapper aesthetic)
 */

/* =============================
   Base Colors & Fonts
   ============================= */
:root {
    --bg: #1f1d1f;       /* global background */
    --surface: #1f1d1f;  /* box surfaces */
    --hairline: #333;    /* borders */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --text: #ffffff;
    --accent: #ffa87d;
    --radius: 12px;
    --font: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* =============================
   HEADER WRAPPER
   ============================= */
.snHeader {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;

    background: var(--bg);
    display: flex;
    color: var(--text);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--hairline);
    z-index: 100;

}

/* =============================
   TOP INFO BAR (holds all boxes)
   ============================= */
.top-info-bar-light {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px;
    width: 100%;
    background: transparent;
    font-size: 14px;
    color: var(--text);
    position: relative;
    z-index: 50;
}

/* =============================
   INFO BOX WRAPPERS (each section)
   ============================= */
.info-wrapper {
    padding: 10px;
    margin: 6px;
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}



/* =============================
   INFO BOX (inner clickable area)
   ============================= */
.info-box {
    background: transparent;
    color: var(--text);
    font-weight: 500;
    min-width: 180px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}



/* =============================
   DROPDOWN TRIGGER + CONTENT
   ============================= */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.dropdown-toggle::after {
    content: " ▼";
    font-size: 0.7em;
}

/* Dropdown menu styling */
.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 200;
}

.dropdown-content:hover {
    text-color: red;
}
/* Click-to-open support */
.dropdown.is-open .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
}



/* Disable hover auto-open */


/* Menu list inside dropdown */
.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.dropdown-content li {
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, background 0.3s ease;
}



/* Optional: image + text inside dropdown */
.dropdown-content img {
    width: 100%;
    margin-bottom: 8px;
    border: 1px solid #555;
    border-radius: var(--radius);
}

.dropdown-content p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text);
}
