:root {
    --bg-color: #050505;
    --text-color: #00ff00;
    --dim-text: #008800;
    --alert-color: #ff3333;
    --panel-bg: #0a0a0a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Share Tech Mono', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 20px;
    height: 100vh;
    overflow-x: hidden;
}

.terminal-container {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid var(--dim-text);
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--dim-text);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--dim-text);
}

.split-layout {
    display: flex;
    gap: 20px;
    flex: 1;
}

.left-panel {
    flex: 1;
    background: var(--panel-bg);
    border: 1px solid var(--dim-text);
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.right-panel {
    flex: 2;
    background: var(--panel-bg);
    border: 1px solid var(--dim-text);
    padding: 15px;
    display: flex;
    flex-direction: column;
}

h3 {
    border-bottom: 1px solid var(--dim-text);
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

input[type="text"] {
    background: transparent;
    border: 1px solid var(--dim-text);
    color: var(--text-color);
    font-size: 1rem;
    padding: 8px;
    outline: none;
}

input[type="text"]:focus {
    border-color: var(--text-color);
    box-shadow: 0 0 5px rgba(0,255,0,0.3);
}

button {
    background: rgba(0, 255, 0, 0.1);
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

button:hover {
    background: var(--text-color);
    color: black;
}

.target-list {
    flex: 1;
    overflow-y: auto;
    border: 1px dashed var(--dim-text);
    padding: 10px;
}

.target-item {
    border: 1px solid var(--dim-text);
    padding: 10px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.target-item.active {
    border-color: var(--text-color);
    box-shadow: 0 0 5px rgba(0,255,0,0.2);
}

.status-badge {
    display: inline-block;
    padding: 2px 5px;
    font-size: 0.8rem;
    border-radius: 2px;
}
.status-pending { background: #ffaa00; color: black; }
.status-found { background: var(--text-color); color: black; }

.short-link {
    display: block;
    margin: 8px 0;
    color: #4285F4;
    text-decoration: underline;
    word-break: break-all;
    font-family: monospace;
}

.terminal-screen {
    flex: 1;
    background: black;
    border: 1px inset var(--dim-text);
    padding: 15px;
    overflow-y: auto;
}

.dim-text { color: var(--dim-text); }
.blink-text { 
    color: var(--alert-color); 
    animation: blinker 1s linear infinite; 
}

@keyframes blinker {
  50% { opacity: 0; }
}

#outputSection pre {
    white-space: pre-wrap;
    line-height: 1.4;
    font-size: 0.95rem;
    text-shadow: 0 0 2px rgba(0, 255, 0, 0.4);
}
