/* FightXPro Custom Dark Fight-Night Styles */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #0B0E14;
  --surface-card: #0F131C;
  --surface-card-hover: #161B26;
  --surface-border: #1E2638;
  --brand-orange: #FF5722;
  --brand-orange-hover: #F97316;
  --brand-amber: #F59E0B;
  --text-primary: #FFFFFF;
  --text-muted: #94A3B8;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: #E2E8F0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0B0E14;
}
::-webkit-scrollbar-thumb {
  background: #1E2638;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF5722;
}

/* Glow Effects */
.glow-orange {
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.25);
}
.glow-amber {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}
.glow-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Badges & Tags */
.weight-badge {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(255, 87, 34, 0.3);
  color: #FF7043;
}

.live-badge {
  animation: pulse-live 1.8s infinite ease-in-out;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.05); }
}

/* Custom Signature Pad Canvas */
#signatureCanvas {
  background-color: #07090D;
  border: 2px dashed #1E2638;
  border-radius: 0.75rem;
  touch-action: none;
  cursor: crosshair;
}

/* Chat Scrollable Container */
.chat-messages {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column-reverse;
}

/* Navigation active tab highlight */
.nav-tab.active {
  color: #FF5722;
  border-color: #FF5722;
}
.nav-tab.active .tab-icon {
  transform: scale(1.1);
  color: #FF5722;
}

.bottom-tab.active {
  color: #FF5722;
}
.bottom-tab.active .bottom-icon {
  transform: translateY(-2px);
  color: #FF5722;
}

/* Screen visibility transitions */
.app-screen {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.app-screen.active {
  display: block;
  opacity: 1;
}

/* Toast alert styling */
#toastNotification {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
