/* LIMAUDIGITAL Nexus shared UI patterns.
   Canonical source: C:/Users/amink/Documents/limaudigital-nexus/shared/nexus.css */

.nexus-loading-modal .modal-dialog {
  max-width: 384px;
}

.nexus-loading-modal .modal-content {
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 32px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 28px 72px rgba(15, 23, 42, .18);
  background: #fff;
}

.nexus-loader-mark {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto;
}

.nexus-loader-ring {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 2px solid rgba(34, 211, 238, .24);
  border-top-color: #0832f4;
  animation: nexusSpin .9s linear infinite;
}

.nexus-loader-icon {
  position: absolute;
  inset: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(8, 50, 244, .22));
}

.nexus-loading-kicker {
  margin: 24px 0 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #06b6d4;
}

.nexus-loading-title {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0;
}

.nexus-loading-text {
  margin: 8px auto 0;
  max-width: 280px;
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 700;
  color: #64748b;
}

.nexus-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid rgba(14, 165, 233, .24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8, 50, 244, .08), rgba(34, 211, 238, .12));
  color: #0832f4;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: none;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s, color .2s, background .2s, opacity .2s;
}

.nexus-ai-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, .5);
  box-shadow: 0 10px 22px rgba(8, 50, 244, .12);
  color: #0891b2;
}

.nexus-ai-btn:disabled,
.nexus-ai-btn.disabled {
  opacity: .58;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.nexus-ai-btn.nexus-ai-btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #0832f4, #22d3ee);
  color: #fff;
  box-shadow: 0 12px 24px rgba(8, 50, 244, .2);
}

.nexus-ai-btn.nexus-ai-btn-primary:hover {
  color: #fff;
  box-shadow: 0 16px 28px rgba(8, 50, 244, .26);
}

.nexus-ai-btn.nexus-ai-btn-compact {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 10px;
}

.nexus-ai-inline-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

@keyframes nexusSpin {
  to { transform: rotate(360deg); }
}
