/* War Database - Theme Styles */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f7;
    --bg-tertiary: #ebebeb;
    --text-primary: #121212;
    --text-secondary: #363636;
    --text-muted: #666666;
    --border-color: #e2e2e2;
    --color-ongoing: #d93025;
    --color-war: #326891;
    --accent: #326891;
    --font-main: Georgia, 'Times New Roman', serif;
    --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.header {
    background: #ffffff;
    border-bottom: 2px solid #121212;
}

.header__title {
    font-family: 'Chomsky', Georgia, serif;
    font-weight: 400;
    font-size: 2rem;
    color: #121212;
    letter-spacing: -1px;
}

.header__subtitle {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.nav-btn {
    background: transparent;
    border: 1px solid #121212;
    color: #121212;
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-btn:hover {
    background: #121212;
    color: #ffffff;
}

.detail-panel,
.rankings-panel {
    background: #ffffff;
    border-left: 1px solid #e2e2e2;
}

.conflict-detail h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.2;
}

.conflict-description {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.7;
}

.timeline-container {
    background: #f7f7f7;
    border-top: 1px solid #e2e2e2;
}

/* Era marker - reset and styles */
.era-marker {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    background-color: #ffffff;
    border: none;
    border-right: 1px solid #e2e2e2;
}

.era-marker:focus {
    outline: none;
}

.era-marker:hover {
    background-color: #f0f0f0;
}

.era-marker.selected {
    background-color: #121212;
}

.era-marker .era-label {
    color: #121212;
    background: transparent;
}

.era-marker .era-date {
    color: #333333;
    background: transparent;
}

.era-marker.selected .era-label,
.era-marker.selected .era-date {
    color: #ffffff;
}

.map-legend {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
