/* UI/c2_cockpit.css · Estilos del C2 Cockpit nativo · v1.0.0-C2NEW */

.c2-cockpit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--linea, #2a303c);
}

.c2-cockpit-header h3 {
  margin: 0;
  font-size: 14px;
  color: var(--cyan, #7dcfff);
  display: flex;
  align-items: center;
  gap: 8px;
}

.c2-summary {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--suave, #9ea4b0);
}

.c2-summary b {
  color: var(--texto, #f0f2f5);
}

.c2-sessions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.c2-session-card {
  background: var(--surface2, #1e232d);
  border: 1px solid var(--linea2, #384152);
  border-radius: 8px;
  padding: 10px;
  transition: border-color 0.2s;
}

.c2-session-card.online {
  border-left: 3px solid var(--ok, #9ece6a);
}

.c2-session-card.offline {
  border-left: 3px solid var(--tenue, #6c7385);
  opacity: 0.75;
}

.c2-session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.c2-email {
  font-size: 12px;
  font-weight: 600;
  color: var(--texto, #f0f2f5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.c2-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tenue, #6c7385);
  flex-shrink: 0;
}

.c2-session-card.online .c2-status-dot {
  background: var(--ok, #9ece6a);
  box-shadow: 0 0 6px rgba(158, 206, 106, 0.5);
}

.c2-session-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  font-size: 11px;
  margin-bottom: 8px;
}

.c2-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.c2-row span:first-child {
  color: var(--tenue, #6c7385);
}

.c2-row span:last-child {
  color: var(--suave, #9ea4b0);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c2-session-actions {
  display: flex;
  gap: 6px;
}

.c2-btn {
  background: var(--surface, #14171f);
  border: 1px solid var(--linea2, #384152);
  color: var(--cyan, #7dcfff);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.c2-btn:hover {
  background: var(--cyan, #7dcfff);
  color: #0b0d11;
  border-color: var(--cyan, #7dcfff);
}

.c2-empty {
  text-align: center;
  padding: 24px 12px;
  color: var(--tenue, #6c7385);
  font-size: 12px;
}