

:root {
    --core-red: #ff0000;
    --red-glow: rgba(255, 0, 0, 0.4);
    --dark-bg: #050505;
}

body {
    background-color: var(--dark-bg);
    color: white;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-banner {
    width: 100%;
    background: #0a0a0a;
    border-bottom: 2px solid #1a1a1a;
    padding: 15px 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
}

.monitor-label {
    color: var(--core-red);
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.active-patient-name {
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 10px var(--red-glow);
    text-transform: uppercase;
}

.container { 
    width: 100%; 
    max-width: 1100px; 
    padding: 20px; 
    box-sizing: border-box; 
}

h1 {
    color: var(--core-red);
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--red-glow);
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.patient-selector {
    background: #111;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--core-red);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selector-label {
    color: #666; 
    font-size: 11px; 
    font-weight: bold; 
    display: block; 
    margin-bottom: 8px; 
    letter-spacing: 1px;
}

select {
    background: #000;
    color: #fff;
    border: 1px solid var(--core-red);
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    width: 350px;
    outline: none;
    cursor: pointer;
}

.engine-version {
    font-size: 10px; 
    color: #555; 
    margin-top: 5px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
}

.history-table th {
    background: #151515;
    color: var(--core-red);
    padding: 15px;
    text-align: left;
    font-size: 12px;
    border-bottom: 2px solid var(--core-red);
}

.history-table td {
    padding: 15px;
    border-bottom: 1px solid #1a1a1a;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.status-stable { color: #00ff00; }
.status-critical { color: #ff0000; font-weight: bold; }

.footer-actions {
    text-align: center;
}

.btn-back {
    display: inline-block;
    margin: 30px 10px 0 10px;
    padding: 12px 30px;
    border: 1px solid var(--core-red);
    color: var(--core-red);
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

.btn-back:hover {
    background: var(--core-red);
    color: #000;
    box-shadow: 0 0 20px var(--red-glow);
}

