/* Summet VoIP — 우하단 수신 팝업 + 통화 중 미니 바 */
#summet-voip-root {
  position: fixed;
  z-index: 12050;
  pointer-events: none;
  inset: 0;
}

#summet-voip-root > * {
  pointer-events: auto;
}

.summet-voip-incoming {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(148, 163, 184, 0.15);
  animation: summet-voip-slide-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes summet-voip-slide-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.summet-voip-incoming__avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.summet-voip-incoming__body {
  flex: 1;
  min-width: 0;
}

.summet-voip-incoming__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #38bdf8;
}

.summet-voip-incoming__name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summet-voip-incoming__sub {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summet-voip-incoming__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.summet-voip-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.summet-voip-btn:hover { transform: scale(1.06); }
.summet-voip-btn:active { transform: scale(0.95); }

.summet-voip-btn--accept {
  background: #22c55e;
  color: #fff;
}

.summet-voip-btn--reject {
  background: #ef4444;
  color: #fff;
}

.summet-voip-btn--hangup {
  background: #ef4444;
  color: #fff;
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.summet-voip-active {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.35);
  font-size: 13px;
  font-weight: 600;
}

.summet-voip-active__info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summet-voip-active__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: summet-voip-pulse 1.2s ease-in-out infinite;
}

@keyframes summet-voip-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* VoIP 전화 페이지 */
.page-voip-phone .voip-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.page-voip-phone .voip-card {
  background: var(--surface-color, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.page-voip-phone .voip-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.page-voip-phone .voip-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.page-voip-phone .voip-field { margin-top: 14px; }
.page-voip-phone .voip-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}

.page-voip-phone .voip-field input,
.page-voip-phone .voip-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.page-voip-phone .voip-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.page-voip-phone .btn-primary {
  background: #0082ff;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

.page-voip-phone .voip-status {
  margin-top: 14px;
  color: #475569;
  white-space: pre-wrap;
  font-size: 13px;
}
