body.jcbcloud-login-page #app main.min-h-screen {
  position: relative;
  overflow: hidden;
  background-color: #071827 !important;
  background-image:
    linear-gradient(90deg, rgba(3, 13, 24, 0.82), rgba(3, 13, 24, 0.42)),
    url('/brand-assets/login-background.jpg?v=20260520-jcb') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body.jcbcloud-login-page #app main.min-h-screen > section {
  position: relative;
  z-index: 1;
}

body.jcbcloud-login-page #app main.min-h-screen > section:first-child h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

body.jcbcloud-login-page #app main.min-h-screen > section:first-child p,
body.jcbcloud-login-page #app main.min-h-screen > section:first-child a {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.jcbcloud-login-page #app main.min-h-screen > section:first-child img {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

body.jcbcloud-login-page #app main.min-h-screen > section.mt-11 {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
  body.jcbcloud-login-page #app main.min-h-screen {
    background-position: center top !important;
  }
}

.jcbcloud-voice-button {
  position: fixed;
  left: 18px;
  bottom: 106px;
  z-index: 9999;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #0369a1;
  color: #ffffff;
  font: 700 14px Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.jcbcloud-voice-button::before {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 2px #0369a1;
}

.jcbcloud-voice-button::after {
  content: attr(aria-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  width: max-content;
  max-width: 220px;
  border-radius: 8px;
  padding: 7px 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.jcbcloud-voice-button:hover,
.jcbcloud-voice-button:focus-visible {
  background: #0284c7;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.3);
}

.jcbcloud-voice-button:hover::after,
.jcbcloud-voice-button:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.jcbcloud-voice-button.is-dragging {
  cursor: grabbing;
  transform: scale(1.03);
}

.jcbcloud-voice-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.jcbcloud-voice-button[data-sip-state="pending"]::before {
  background: #f59e0b;
}

.jcbcloud-voice-button[data-sip-state="online"]::before {
  background: #22c55e;
}

.jcbcloud-voice-button[data-sip-state="error"]::before {
  background: #ef4444;
}

.jcbcloud-voice-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.jcbcloud-voice-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
}

.jcbcloud-voice-panel__sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  height: min(760px, calc(100vh - 48px));
  background: #202432;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%);
}

.jcbcloud-voice-panel__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #eef2ff;
  font: 800 16px Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.jcbcloud-voice-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 720px) {
  .jcbcloud-voice-panel__sheet {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    border-radius: 22px;
  }
}

.jcbcloud-incoming-call {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 10001;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100vw - 36px));
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  padding: 16px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.34);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jcbcloud-incoming-call__label {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.jcbcloud-incoming-call strong {
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jcbcloud-incoming-call__actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.jcbcloud-incoming-call__actions button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: #334155;
  color: #ffffff;
  font: 800 13px Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.jcbcloud-incoming-call__actions [data-jcbcloud-call-answer] {
  background: #16a34a;
}

.jcbcloud-incoming-call__actions [data-jcbcloud-call-reject] {
  background: #e11d48;
}

.jcbcloud-incoming-call__actions .is-hidden {
  display: none;
}

.jcbcloud-incoming-call.is-active .jcbcloud-incoming-call__label {
  color: #86efac;
}
