* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: #0d1117;
    color: #c9d1d9;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

h1, h2 { color: #58a6ff; }
h1 { margin-bottom: 20px; border-bottom: 1px solid #30363d; padding-bottom: 10px; font-size: 24px; }
h2 { font-size: 18px; margin-bottom: 10px; margin-top: 25px; }

p, ul { line-height: 1.6; font-size: 15px; }
ul { margin-left: 20px; margin-top: 10px; }
.center-text { text-align: center; }

.accent-yellow { color: #e3b341 !important; }
.tile {
    background: #161b22;
    padding: 15px 20px;
    border: 1px solid #30363d;
    border-left: 4px solid #e3b341;
    border-radius: 4px;
    margin-bottom: 15px;
}
.tile h2 { margin-top: 0; }

.profile-banner-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border: 2px solid #e3b341;
    border-radius: 6px;
    margin-bottom: 25px;
    background: #000;
}

.profile-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.intro-banner {
    position: relative;
    background: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.intro-banner h1.glitch-text {
    font-size: 42px;
    color: #58a6ff;
    letter-spacing: 5px;
    border: none;
    margin-bottom: 10px;
}

.intro-banner h2 { color: #8b949e; letter-spacing: 2px; margin-top: 0; }
.intro-banner p { font-size: 14px; margin-top: 20px; font-weight: bold; }

.scanline {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    pointer-events: none;
}

.sidebar {
    width: 280px;
    background-color: #161b22;
    border-right: 1px solid #30363d;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.sidebar-title {
    color: #58a6ff;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
    border: none;
    font-size: 16px;
    word-break: break-word;
}

.sidebar select {
    text-overflow: ellipsis;
}

.sidebar button {
    background: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s ease;
    word-break: break-word;
}

.sidebar button:hover, .sidebar button.active-nav {
    background-color: #1f6feb;
    color: #ffffff;
    border-color: #1f6feb;
}

.dashboard {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.tab-content { display: none; max-width: 1200px; margin: 0 auto; }
.tab-content.active { display: block; }

.suspect-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.suspect-bio {
    background: #161b22;
    padding: 20px;
    border: 1px solid #30363d;
    border-left: 4px solid #e3b341;
    border-radius: 4px;
}

.full-page-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 200px);
}

.suspect-select-btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-family: monospace !important;
    border-radius: 0 !important;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}
.suspect-select-btn:hover { background-color: #e0e0e0 !important; }
.purple-icon { color: #4a148c; margin-right: 6px; font-size: 18px; }

.interrogation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #161b22;
    padding: 15px 25px;
    border: 1px solid #30363d;
    border-radius: 4px 4px 0 0;
}

.back-link {
    background: transparent;
    border: 1px solid #30363d;
    color: #8b949e;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.back-link:hover { color: #c9d1d9; border-color: #8b949e; }

.question-tracker {
    background: #010409;
    padding: 5px 15px;
    border: 1px solid #30363d;
    border-radius: 4px;
}

/* Interrogation Instruction Box Style */
.interrogation-note {
    background-color: #161b22;
    color: #8b949e;
    padding: 10px 20px;
    font-size: 13px;
    border-left: 4px solid #58a6ff;
    border-right: 1px solid #30363d;
    border-bottom: 1px solid #30363d;
}

.split-layout {
    display: flex;
    height: 550px;
    border: 1px solid #30363d;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #010409;
}

.chat-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #30363d;
}

.chat-box {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-box p {
    padding: 10px 15px;
    border-radius: 6px;
    max-width: 85%;
}

.user-msg {
    align-self: flex-end;
    background-color: #1f6feb;
    color: #ffffff !important;
}

.ai-msg {
    align-self: flex-start;
    background-color: #21262d;
    color: #58a6ff !important;
    border: 1px solid #30363d;
}

.system-msg {
    align-self: center;
    background-color: #1f1212 !important;
    color: #ff7b72 !important;
    border: 1px solid #ff7b72 !important;
    font-weight: bold;
    text-align: left;
    width: 95%;
    padding: 12px 15px;
    border-radius: 6px;
}

.clue-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
    background-color: #0d1117;
    border-top: 1px solid #30363d;
}
.clue-area button {
    background: #161b22;
    color: #8b949e;
    border: 1px solid #30363d;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}
.clue-area button:hover { background: #1f6feb; color: #fff; }

.input-area {
    display: flex;
    background-color: #161b22;
    padding: 15px;
    border-top: 1px solid #30363d;
}
.input-area input {
    flex: 1;
    background-color: #010409;
    border: 1px solid #3a3a45;
    padding: 12px;
    color: #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}
.input-area input:focus { border-color: #58a6ff; }
.input-area input:disabled { background-color: #21262d; cursor: not-allowed; }

.input-area button {
    background-color: #58a6ff;
    color: #010409;
    border: none;
    padding: 0 20px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.notepad-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #161b22;
    padding: 20px;
}
.notepad-header {
    border-bottom: 1px solid #30363d;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.notes-textarea {
    flex: 1;
    background: #010409;
    color: #e3b341; 
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 15px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
}

.verdict-grid { 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    gap: 15px; 
}
.verdict-grid button {
    width: 100%;
    max-width: 400px;
    background: #0d1117;
    color: #58a6ff;
    border: 1px solid #30363d;
    padding: 15px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}
.verdict-grid button:hover { background: #1f6feb; color: #fff; border-color: #1f6feb; }