/* live-call.css — Live call UI for CallYourKid dashboard */

.card-live-pulse {
  border: 2px solid #ef4444 !important;
  animation: liveCardPulse 2s ease-in-out infinite;
}

@keyframes liveCardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.25); }
  50%       { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.session-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-scheduled { background: #e0f0ff; color: #1a2e4a; }
.status-live { background: #fee2e2; color: #991b1b; animation: badgeBlink 1.2s ease-in-out infinite; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #f3f4f6; color: #6b7280; }
.status-no-show { background: #fef3c7; color: #92400e; }

@keyframes badgeBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.live-call-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.live-timer {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 1px;
  min-width: 60px;
  text-align: center;
  background: #fee2e2;
  padding: 4px 12px;
  border-radius: 8px;
}

.btn-start-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-start-call:hover:not(:disabled) { background: #15803d; transform: translateY(-1px); }
.btn-start-call:disabled { background: #9ca3af; cursor: not-allowed; }

.btn-end-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-end-call:hover:not(:disabled) { background: #b91c1c; transform: translateY(-1px); }
.btn-end-call:disabled { background: #9ca3af; cursor: not-allowed; }

.btn-sm { padding: 6px 14px !important; font-size: 13px !important; }

.call-duration {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 8px;
}

@keyframes slideInRight {
  from { transform: translateX(60px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
