/* ---------- HEADER STYLING ---------- */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.header-middle-title { flex: 1; text-align: center; }
.header-center { font-size: 2em; margin: 0 0 20px 0; }

/* ---------- LAYOUT ---------- */
.content-container {
    width: 100%;
    padding: 0 20px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    height: 100%;
}

.patch-container {
    width: 100%;
}

/* ---------- TYPOGRAPHY ---------- */
h2 { margin: 15px 0; font-size: 1.5rem; text-align: center; }

/* ---------- PATCH NOTES CONTROLS ---------- */
.version-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.dropdown-container { position: relative; display: inline-block; }

.patch-notes-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    border-radius: 9999px;
    background: cornflowerblue;
    overflow: hidden;
    transition: background 0.25s ease;
    min-width: 200px;
}
.patch-notes-pill:hover, .patch-notes-pill:focus { background: #5547d9; }

.pill-left, .pill-right { padding: 10px 22px; display: flex; align-items: center; }
.pill-left { flex: 1; border-right: 1px solid rgba(255,255,255,0.35); }
.pill-right { padding: 10px 15px; cursor: pointer; }

.patch-notes-pill .arrow {
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #ffffff;
    margin: 0 auto;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0; right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 100;
    opacity: 0; transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.dropdown-container.active .dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }

.dropdown-option {
    padding: 12px 16px; color: #333; cursor: pointer; transition: background 0.2s ease;
    border-left: 4px solid #06668d;
}
.dropdown-option:hover { background: #f5f5f5; }

/* ---------- PATCH NOTES CONTENT ---------- */
.patch-notes { margin-top: 20px; }
.patch-list { list-style-type: disc; padding-left: 20px; margin-bottom: 20px; }
.patch-list li { margin-bottom: 10px; line-height: 1.4; }

/* Links reused in notes */
.feature-link { color: cornflowerblue; text-decoration: none; }
.feature-link:hover { text-decoration: underline; }

/* ---------- MAINTENANCE BLOCK ---------- */
.maintenance-section { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; text-align: center;}
.maintenance-window { background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 4px; padding: 15px; margin: 15px 0; text-align: center; }
.maintenance-date, .maintenance-time { margin: 5px 0; font-size: 1.1rem; }
.maintenance-date span, .maintenance-time span { font-weight: bold; color: #dc3545; }

/* Last Updated Datestamp Styling */
.last-updated-container {
    text-align: center;
    margin: 20px 0 10px;
    font-size: 0.9rem;
    color: #666;
}

.last-updated-text {
    margin: 0;
    padding: 0;
}

.last-updated-date {
    color: cornflowerblue;
    font-weight: bold;
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
    #main { width: 300px; }
}
@media (max-width: 1000px) and (orientation: landscape) {
    #main { width: 100%; }
}