:root {
    --bg-dark: #020b10;
    --panel-bg: #04121a;
    --cyan: #00f2ff;
    --red: #ff4c4c;
    --border-style: 1px dashed #1a3a4a;
}

body {
    background-color: var(--bg-dark);
    color: var(--cyan);
    font-family: 'Segoe UI', 'Courier New', monospace;
    margin: 0;
    padding: 20px;
}

.container { max-width: 1100px; margin: auto; }

header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    height: 150px;
    background: #000;
    border: var(--border-style);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
}

.btn-cyan { background: transparent; border: 1px solid var(--cyan); color: var(--cyan); padding: 10px 20px; cursor: pointer; }
.btn-cyan:hover { background: var(--cyan); color: #000; }

.btn-red { background: transparent; border: 1px solid var(--red); color: var(--red); margin-left: 10px; cursor: pointer; }

.editor-grid {
    background: var(--panel-bg);
    border: var(--border-style);
    padding: 15px;
    min-height: 200px;
}

.intel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-bottom: 1px solid #102a38;
}

select, input[type="text"] {
    background: #000;
    color: var(--cyan);
    border: 1px solid #1a3a4a;
    padding: 4px;
}
/* Update the existing button style to ensure the top button matches */
.btn-primary, .btn-cyan {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    transition: 0.2s;
}

.btn-primary:hover, .btn-cyan:hover {
    background: var(--cyan);
    color: #000;
    box-shadow: 0 0 10px var(--cyan);
}

/* Tabular Grid Alignment */
.intel-row {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #102a38;
    gap: 15px;
}
/*
.col-sig { width: 50px; color: #fff; font-weight: bold; }
.col-cat { width: 120px; color: var(--cyan); font-size: 0.9em; }
.col-type { width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-ctrl { width: 180px; display: flex; gap: 5px; }
.col-note { flex-grow: 1; }
*/

/* Adjusted column widths for the new order */
.col-sig { width: 50px; color: #fff; font-weight: bold; }
.col-type { width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-ctrl { width: 200px; display: flex; gap: 8px; align-items: center; }
.col-note { flex-grow: 1; }

.note-input {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 1px solid #1a3a4a;
    color: #ccc;
    padding: 5px;
}

/* Ensure dropdowns look consistent */
select {
    background: #000;
    color: var(--cyan);
    border: 1px solid #1a3a4a;
    padding: 4px;
}

/* Styling for the General Intel textarea */
.general-intel {
    margin-top: 20px;
}

#generalNotes {
    width: 100%;
    height: 100px;
    background: #000;
    border: var(--border-style);
    color: #00f2ff; /* Using your cyan color for text */
    padding: 10px;
    box-sizing: border-box;
    font-family: monospace;
}
