/* Color Override for Unified Style */

/* Azul-Púrpura Theme */
:root {
  --primary-blue: #667eea;
  --primary-purple: #764ba2;
  --primary-orange: #667eea;
  --primary-green: #667eea;
}

/* Override all orange colors */
h1, h2[style*="#FF9800"], h2[style*="#8F3D00"] { color: #667eea !important; }
[style*="color: #FF9800"], [style*="color: #8F3D00"] { color: #667eea !important; }
[style*="color:#FF9800"], [style*="color:#8F3D00"] { color: #667eea !important; }

/* Override all green colors (buttons) */
[style*="color: #4CAF50"], [style*="background-color: #4CAF50"] {
  color: white !important;
  background-color: #667eea !important;
}
[style*="color:#4CAF50"], [style*="background-color:#4CAF50"] {
  color: white !important;
  background-color: #667eea !important;
}

/* Button hovers */
.btn:hover { background-color: #764ba2 !important; }
.btn-primary:hover { background-color: #764ba2 !important; }

/* Price elements */
.precio, [class*="precio"] { color: #667eea !important; }

/* Text colors */
[style*="color: #005100"] { color: #667eea !important; }
[style*="color:#005100"] { color: #667eea !important; }

/* Border colors */
[style*="border-color: #FF9800"], [style*="border-color: #8F3D00"] {
  border-color: #667eea !important;
}

/* Card elements */
.card { border-color: #667eea !important; }

/* Links and accents */
a[style*="#FF9800"], a[style*="#8F3D00"] { color: #667eea !important; }

/* Additional overrides for specific elements */
.btn.btn-primary, button.btn-primary {
  background-color: #667eea !important;
  border-color: #667eea !important;
  color: white !important;
}

.btn.btn-primary:hover, button.btn-primary:hover {
  background-color: #764ba2 !important;
  border-color: #764ba2 !important;
}

/* Ensure text is readable on new background */
.btn.btn-primary > *, button.btn-primary > * {
  color: white !important;
}
