/* ========== ROOT DESIGN SYSTEM ========== */

:root {
    --bg-main: #0f172a;
    --bg-column: #1e293b;
    --bg-card: #1e293b;
    --bg-hover: #273549;

    --border-main: #334155;
    --border-strong: #475569;

    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #3b82f6;

    --radius: 8px;
}

/* ========== GLOBAL ========== */

body {
    margin: 0;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

/* ========== DECK LAYOUT ========== */

.deck {
    display: flex;
    height: 100vh;
    overflow-x: auto;
}

.column {
    min-width: 320px;
    max-width: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-main);
    background: var(--bg-main);
}

/* ========== COLUMN HEADER ========== */

.column-header {
    background: var(--bg-column);
    padding: 16px;
    border-bottom: 2px solid var(--border-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.column-header h2 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.column-header small {
    font-size: 11px;
    color: var(--text-muted);
}

.column-header-search {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.column-header input {
    background: #0b1220;
    border: 1px solid var(--border-main);
    padding: 8px;
    border-radius: var(--radius);
    color: var(--text-main);
}

/* ========== COLUMN CONTENT ========== */

.column-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

/* ========== MENU BUTTONS ========== */

.menu-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border: none;
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.menu-btn:hover {
    background: var(--accent);
}

/* ========== EVENT CARD ========== */

.event-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 12px;
    transition: background 0.15s ease;
}

.event-card:hover {
    background: var(--bg-hover);
}

.event-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}

.event-author {
    color: var(--accent);
    font-weight: bold;
}

.event-content {
    font-size: 14px;
    margin-bottom: 8px;
}

.event-actions {
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--border-main);
    padding-top: 6px;
}

.event-actions button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
}

.event-actions button:hover {
    color: var(--text-main);
}

/* ========== MODAL ========== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-frame {
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background: var(--bg-column);
    border: 1px solid var(--border-strong);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-main);
    display: flex;
    justify-content: space-between;
}

.modal-body {
    padding: 16px;
    overflow-y: auto;
}
