/* Signal Detection Styles */

.mode-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    /* Inherits card styles */
}

.mode-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* Visual Mode Styles */
#visual-viewport {
    width: 300px;
    height: 300px;
    background: #000;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 50%; /* Scope/Lens look */
    border: 5px solid var(--border-glass);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.noise-pixel {
    width: 4px;
    height: 4px;
    position: absolute;
    opacity: 0.3;
}

.signal-dot {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 5px #fff;
}

/* Clinical Mode Styles */
.vitals-card {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-left: 5px solid var(--accent);
    border-radius: 8px;
}

.matrix-cell {
    padding: 1rem;
    border: 1px solid var(--border-glass);
    text-align: center;
    color: var(--bg-dark); /* Text needs to be dark on the colored backgrounds */
}

/* Override table cell colors to ensure readability */
.table-success {
    background-color: rgba(46, 204, 113, 0.8) !important;
    color: #fff !important;
}
.table-warning {
    background-color: rgba(241, 196, 15, 0.8) !important;
    color: #000 !important;
}
.table-danger {
    background-color: rgba(231, 76, 60, 0.8) !important;
    color: #fff !important;
}

.matrix-header {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: bold;
    border: 1px solid var(--border-glass);
    vertical-align: middle;
}
