/* WebClarity Bridge SweetAlert2 brand layer */
:root {
  --wcb-swal-midnight: #202323;
  --wcb-swal-canary: #ffcb05;
  --wcb-swal-muted: #a1a1aa;
  --wcb-swal-danger: #f87171;
}

.swal2-container {
  font-family: "Plus Jakarta Sans", "Open Sauce One", "Open Sans", Arial, sans-serif;
}

.swal2-container .swal2-popup:not(.swal2-toast) {
  width: min(92vw, 440px);
  padding: 1.75rem;
  background:
    linear-gradient(145deg, rgba(32, 35, 35, 0.98), rgba(8, 8, 10, 0.98)) !important;
  border: 1px solid rgba(255, 203, 5, 0.28);
  border-radius: 1rem;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
  overflow: hidden;
}

.swal2-container .swal2-popup:not(.swal2-toast)::before {
  content: "WebClarity Bridge";
  display: inline-flex;
  align-items: center;
  margin: 0 auto 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 203, 5, 0.3);
  border-radius: 999px;
  background: rgba(255, 203, 5, 0.12);
  color: var(--wcb-swal-canary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-title,
.swal2-container .wcb-swal-title {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0;
  margin: 0.2rem 0 0.6rem;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-html-container,
.swal2-container .wcb-swal-html {
  color: var(--wcb-swal-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 auto;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-icon,
.swal2-container .wcb-swal-icon {
  margin: 0.35rem auto 0.9rem;
  border-color: rgba(255, 203, 5, 0.65) !important;
  color: var(--wcb-swal-canary) !important;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-icon.swal2-error,
.swal2-container .wcb-swal-icon.swal2-error {
  border-color: rgba(248, 113, 113, 0.75) !important;
  color: var(--wcb-swal-danger) !important;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-input,
.swal2-container .swal2-popup:not(.swal2-toast) .swal2-textarea,
.swal2-container .swal2-popup:not(.swal2-toast) .swal2-select,
.swal2-container .wcb-swal-input {
  height: 48px;
  margin: 1.2rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  box-shadow: none;
  font-size: 0.98rem;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-textarea {
  height: auto;
  min-height: 7rem;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-input:focus,
.swal2-container .swal2-popup:not(.swal2-toast) .swal2-textarea:focus,
.swal2-container .swal2-popup:not(.swal2-toast) .swal2-select:focus,
.swal2-container .wcb-swal-input:focus {
  border-color: var(--wcb-swal-canary);
  box-shadow: 0 0 0 0.25rem rgba(255, 203, 5, 0.18);
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-input::placeholder,
.swal2-container .wcb-swal-input::placeholder {
  color: #71717a;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-validation-message,
.swal2-container .wcb-swal-validation {
  margin-top: 0.8rem;
  border-radius: 0.75rem;
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  font-weight: 700;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-actions,
.swal2-container .wcb-swal-actions {
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-confirm,
.swal2-container .wcb-swal-confirm {
  min-width: 112px;
  border: 0 !important;
  border-radius: 0.75rem !important;
  background: var(--wcb-swal-canary) !important;
  color: var(--wcb-swal-midnight) !important;
  padding: 0.78rem 1rem;
  font-weight: 800;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-confirm:hover,
.swal2-container .wcb-swal-confirm:hover {
  background: #e6b700 !important;
  transform: translateY(-1px);
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-cancel,
.swal2-container .wcb-swal-cancel {
  min-width: 112px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.75rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e4e4e7 !important;
  padding: 0.78rem 1rem;
  font-weight: 800;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.swal2-container .swal2-popup:not(.swal2-toast) .swal2-cancel:hover,
.swal2-container .wcb-swal-cancel:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 203, 5, 0.28) !important;
}

.swal2-container .swal2-toast {
  border: 1px solid rgba(255, 203, 5, 0.24);
  border-radius: 0.8rem;
  background: rgba(32, 35, 35, 0.98) !important;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.swal2-container .swal2-toast .swal2-title {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 575.98px) {
  .swal2-container .swal2-popup:not(.swal2-toast) {
    padding: 1.35rem;
  }

  .swal2-container .swal2-popup:not(.swal2-toast) .swal2-title,
  .swal2-container .wcb-swal-title {
    font-size: 1.35rem;
  }

  .swal2-container .swal2-popup:not(.swal2-toast) .swal2-confirm,
  .swal2-container .swal2-popup:not(.swal2-toast) .swal2-cancel,
  .swal2-container .wcb-swal-confirm,
  .swal2-container .wcb-swal-cancel {
    width: 100%;
  }
}
