/* src/public/components/ReleaseNotes/ReleaseNotes.css */

/* =====================
   Release Notes Panel
   ===================== */
.release-notes {
    position: fixed;
    top: 33%;
    right: 11px;
    width: 340px;
    height: calc(67vh - 40px);
    background-color: var(--surface-dark);
    border: 3px solid var(--border-dark);
    padding: 20px;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    z-index: 100;
    pointer-events: none;
    overflow: visible;
}

.notes-container {
    position: relative;
    height: calc(100% - 80px);
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    pointer-events: all;
    isolation: isolate;
    z-index: 1;
}

.notes-container .simplebar-track.simplebar-vertical {
    right: -16px;
    z-index: var(--z-overlay);
    position: absolute;
    width: 12px;
    pointer-events: all;
}

.notes-container .simplebar-scrollbar {
    z-index: var(--z-overlay);
    pointer-events: all;
}

.entry {
    margin-bottom: 15px;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    flex-grow: 0;
}

.entry .date {
    font-size: 0.9rem;
    color: var(--gold-accent);
    margin-bottom: 5px;
}

/* Updates Header */
.updates-header {
    margin-bottom: 5px;
}

.updates-header h2 {
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Contact Entry */
.contact-entry {
    margin-top: 20px;
    border: 3px solid var(--border-dark);
    background-color: #494949; /* intentional: mid-gray distinct from --surface-dark (#242424) and --surface-elevated (#2F2F2F) */
    padding: 15px;
    flex-shrink: 0;
}

.contact-entry h2 {
    white-space: nowrap;
}

.contact-info a {
    color: var(--gold-accent);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Light Theme Overrides */
body.light-theme .contact-entry {
    background: var(--color-gray-f5);
    border: 1px solid var(--color-gray-e0);
}

body.light-theme .contact-info a {
    color: var(--text-light);
}
