const unifiedCSS = `/* IAMAG Unified CSS - Cloudflare Pages Version */

/* Global reset */
* {
  box-sizing: border-box !important;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  color: #ffffff !important;
  min-height: 100vh !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Nuclear button styling */
button, .btn, input[type="submit"], input[type="button"], *[onclick] {
  background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  min-height: 44px !important;
}

button:hover, .btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.1) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
}

/* Special button types */
*[class*="download"], *[onclick*="download"] {
  background: linear-gradient(135deg, #ff6b35 0%, #f57c00 100%) !important;
}

*[class*="save"], *[onclick*="save"] {
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
}

*[class*="delete"], *[onclick*="delete"] {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%) !important;
}

/* Input styling */
input, select, textarea {
  background: rgba(0,0,0,0.4) !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
  padding: 1rem !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

input:focus, select:focus, textarea:focus {
  border-color: #64b5f6 !important;
  box-shadow: 0 0 0 3px rgba(100,181,246,0.2) !important;
  outline: none !important;
  background: rgba(0,0,0,0.6) !important;
}

input::placeholder, textarea::placeholder {
  color: #aaaaaa !important;
}

/* Header styling */
h1, h2, h3, h4, h5, h6 {
  color: #64b5f6 !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

h1 {
  font-size: 2.5rem !important;
  text-align: center !important;
  text-shadow: 0 2px 10px rgba(100,181,246,0.3) !important;
}

/* Container styling */
.main, .container, .content, .card {
  background: rgba(34, 36, 58, 0.95) !important;
  border-radius: 24px !important;
  padding: 2rem !important;
  margin: 1rem !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 8px 60px rgba(0,0,0,0.4) !important;
  backdrop-filter: blur(10px) !important;
}

/* Override any inline styles */
*[style*="background"], *[style*="color"] {
  background: rgba(34, 36, 58, 0.95) !important;
  color: #ffffff !important;
}

/* Success indicator */
body::after {
  content: "🎨 CLOUDFLARE CSS LOADED";
  position: fixed;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  z-index: 99999;
  box-shadow: 0 4px 20px rgba(100,181,246,0.3);
  pointer-events: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .main, .container {
    margin: 0.5rem !important;
    padding: 1rem !important;
  }
  
  h1 {
    font-size: 2rem !important;
  }
  
  button, .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}`;
