/* Communication Dynamics Styles */

.game-screen {
    min-height: 600px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Phase 1: Monitor */
.monitor-card {
    border-top: 4px solid #e74c3c; /* Red alert */
    font-family: 'Courier New', monospace;
}
.vital-box {
    border-right: 1px solid #555;
    padding: 10px;
}
.vital-box:last-child {
    border-right: none;
}
.vital-label {
    font-size: 0.8rem;
    color: #aaa;
    display: block;
}
.vital-value {
    font-size: 2rem;
    font-weight: bold;
}
.vital-value.critical {
    color: #e74c3c;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

/* Team Interaction */
.team-member-avatar {
    width: 80px;
    height: 80px;
    background-color: #ecf0f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
}
.team-member-avatar:hover {
    background-color: #dfe6e9;
}
.team-member.selected .team-member-avatar {
    border-color: #3498db;
    background-color: #d6eaf8;
}
.team-role {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

/* Phase 2: Handover */
.note-item {
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 8px;
    cursor: grab;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.1s;
}
.note-item:active {
    cursor: grabbing;
    transform: scale(0.98);
}
.note-item.used {
    opacity: 0.5;
    background-color: #f8f9fa;
    text-decoration: line-through;
    pointer-events: none;
}

.handover-slot {
    background-color: #f8f9fa;
    border: 2px dashed #bdc3c7;
    border-radius: 6px;
    padding: 15px;
    min-height: 80px;
    margin-bottom: 15px;
    transition: background-color 0.2s;
}
.handover-slot.drag-over {
    background-color: #e8f6f3;
    border-color: #2ecc71;
}
.slot-label {
    font-weight: bold;
    color: #7f8c8d;
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.dropped-item {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.remove-item {
    cursor: pointer;
    color: #e74c3c;
    margin-left: 10px;
    font-weight: bold;
}
