/* Shared dropdown menu styles (single source of truth) */
.dropdown-menu {
  background: #323943;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-width: 150px;
  z-index: 1000;
}
.dropdown-menu .dropdown-option {
  padding: 12px 16px;
  cursor: pointer;
  color: #fff;
  background: transparent;
  transition: background-color 0.2s ease;
}
.dropdown-menu .dropdown-option + .dropdown-option {
  border-top: 1px solid #4a5568;
}
.dropdown-menu .dropdown-option:hover {
  background: rgba(255, 255, 255, 0.06);
}
/* xchk-app shared theme using fonts/colors from xchk-site */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #000000 !important;
  background-image:
    radial-gradient(60% 80% at 20% 10%, rgba(118, 75, 162, 0.25), rgba(0,0,0,0) 60%),
    radial-gradient(50% 70% at 80% 0%, rgba(102, 126, 234, 0.25), rgba(0,0,0,0) 60%),
    radial-gradient(60% 80% at 80% 90%, rgba(16, 185, 129, 0.18), rgba(0,0,0,0) 60%),
    radial-gradient(60% 80% at 15% 85%, rgba(236, 72, 153, 0.20), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #0a0a0a 0%, #000000 100%) !important;
  background-blend-mode: screen, screen, screen, screen, normal !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position: center !important;
}

a {
  color: #cccccc;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons (keep existing gradient but refine hover/shadow) */
.button, button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.button:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Tables on dark background */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  color: rgba(255, 255, 255, 0.9);
}

/* Utility tints consistent with site */
.glass-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(20px);
}

/* Inputs on dark */
input, select, textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Headers common look */
.header h1, h1, h2, h3, h4 {
  color: #ffffff;
}

/* Subtle panel hover used across app */
.panel:hover, .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

/* Error/success text harmonized */
.error, .error-message { color: #f44336; }
.success { color: #4CAF50; }

/* Small devices */
@media (max-width: 768px) {
  body { padding-top: 0; }
}


