:root {
    --neon-green: #39ff14;
    --neon-pink: #ff007f;
    --cyber-black: #0d0e15;
    --terminal-gray: #1a1c28;
    --text-light: #e2e8f0;
}

body {
    background-color: var(--cyber-black);
    color: var(--text-light);
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#mainframe-container {
    width: 100%;
    max-width: 800px;
    background: var(--terminal-gray);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.2);
    padding: 25px;
    border-radius: 4px;
}

header h1 {
    color: var(--neon-pink);
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.5);
}

.subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

#terminal-display {
    background: #050508;
    border-left: 3px solid var(--neon-green);
    padding: 15px;
    margin-bottom: 25px;
}

.log-box {
    color: var(--neon-green);
    font-size: 0.95rem;
}

.prompt {
    user-select: none;
    margin-right: 8px;
}

#metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.metric-card {
    background: #131520;
    border: 1px solid #2d3142;
    padding: 15px;
    border-radius: 3px;
}

.metric-card h3 {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.metric-card .value {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--text-light);
}

.bar-container {
    width: 100%;
    background: #222538;
    height: 6px;
    margin-top: 10px;
    border-radius: 3px;
    overflow: hidden;
}

#compliance-bar {
    height: 100%;
    background: var(--neon-green);
    transition: width 0.3s ease;
}

#action-panel h2 {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #2d3142;
    padding-bottom: 5px;
}

.button-group {
    display: flex;
    gap: 15px;
}

button {
    background: #1b1e2e;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 12px 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

button:hover:not(:disabled) {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

button:disabled {
    border-color: #475569;
    color: #475569;
    cursor: not-allowed;
}

#bribe-btn {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

#bribe-btn:hover:not(:disabled) {
    background: var(--neon-pink);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.btn-cost {
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 4px;
    opacity: 0.8;
}