/* Dashboard Hover Effects */
.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Dashboard specific styles can go here */
/* Devise Authentication Pages - Minimal Custom Styles */
/* Usando Bootstrap 5 para la mayoría del diseño */

/* Auth Container Background - Usar toda la altura del main */
.auth-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

/* Para páginas de autenticación: expandir main para llenar el espacio */
main:has(.auth-container) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main:has(.auth-container) .auth-container {
  flex: 1;
}

/* Animated Background Pattern */
.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(50px); }
}

/* Card Animation */
.auth-card {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient Icon */
.auth-logo i {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Password Toggle Button */
.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #667eea;
}

/* Submit Button Gradient */
.btn-auth {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-auth::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-auth:hover::before {
  left: 100%;
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
}

.shape.circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  animation: float 20s infinite ease-in-out;
}

.shape.square {
  width: 30px;
  height: 30px;
  background: white;
  animation: float 25s infinite ease-in-out;
  transform: rotate(45deg);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  33% {
    transform: translateY(-100px) translateX(100px) rotate(120deg);
  }
  66% {
    transform: translateY(100px) translateX(-100px) rotate(240deg);
  }
}

/* Focus States for Accessibility */
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Placeholder más suave */
.auth-container .form-control::placeholder {
  color: #adb5bd !important;
  opacity: 0.7;
}

/* Link Hover Effects */
.auth-links a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-links a:hover {
  color: #764ba2;
  transform: translateX(5px);
}

/* Error Shake Animation */
.alert {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}
/* Hero Section - Custom overflow only */
.hero-section {
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.2;0.1" dur="4s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="2.5" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.25;0.1" dur="5s" repeatCount="indefinite"/></circle></svg>');
  pointer-events: none;
}

/* Robot Animation */
.robot-container {
  position: relative;
  transform-style: preserve-3d;
}

.robot-head {
  font-size: 8rem !important;
  color: #ffc107;
  text-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
  animation: robotPulse 3s ease-in-out infinite;
}

@keyframes robotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); text-shadow: 0 0 40px rgba(255, 193, 7, 0.8); }
}

/* Chess Board */
.chess-board {
  display: inline-block;
  border: 3px solid #333;
  border-radius: 8px;
  padding: 10px;
  background: #2c3e50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: boardFloat 4s ease-in-out infinite;
}

@keyframes boardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.chess-row {
  display: flex;
}

.chess-square {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.chess-square.light {
  background-color: #f0d9b5;
  color: #8b4513;
}

.chess-square.dark {
  background-color: #b58863;
  color: #2c1810;
}

.chess-square:hover {
  transform: scale(1.1);
  z-index: 10;
  position: relative;
}

/* Crypto Pieces - Subtle styling */
.crypto-piece {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.crypto-piece:hover {
  opacity: 1;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-brain {
  position: absolute;
  top: 20%;
  right: 10%;
  font-size: 2rem;
  color: #e74c3c;
  animation: floatLeft 6s ease-in-out infinite;
}

.floating-bulb {
  position: absolute;
  top: 60%;
  left: 15%;
  font-size: 1.8rem;
  color: #f39c12;
  animation: floatRight 5s ease-in-out infinite 1s;
}

.floating-cog {
  position: absolute;
  bottom: 30%;
  right: 20%;
  font-size: 1.5rem;
  color: #3498db;
  animation: spin 8s linear infinite;
}

@keyframes floatLeft {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  25% { transform: translateX(-15px) translateY(-10px); }
  50% { transform: translateX(-10px) translateY(-20px); }
  75% { transform: translateX(-20px) translateY(-5px); }
}

@keyframes floatRight {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  25% { transform: translateX(15px) translateY(-8px); }
  50% { transform: translateX(10px) translateY(-15px); }
  75% { transform: translateX(20px) translateY(-3px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Feature Cards - Only hover effect */
.feature-card:hover {
  transform: translateY(-5px);
}

/* Responsive Design for Home */
@media (max-width: 768px) {
  .robot-head {
    font-size: 5rem !important;
  }
  
  .chess-square {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .floating-elements {
    display: none;
  }
}
/* Trading Chart Styles */

/* Colored checkboxes for indicators */
.checkbox-sma20:checked {
  background-color: #2196F3 !important;
  border-color: #2196F3 !important;
}

.checkbox-sma50:checked {
  background-color: #FF9800 !important;
  border-color: #FF9800 !important;
}

.checkbox-ema12:checked {
  background-color: #4CAF50 !important;
  border-color: #4CAF50 !important;
}

.checkbox-bollinger:checked {
  background-color: rgba(156, 39, 176, 0.8) !important;
  border-color: rgba(156, 39, 176, 0.8) !important;
}

/* Hover states */
.checkbox-sma20:hover {
  border-color: #2196F3 !important;
}

.checkbox-sma50:hover {
  border-color: #FF9800 !important;
}

.checkbox-ema12:hover {
  border-color: #4CAF50 !important;
}

.checkbox-bollinger:hover {
  border-color: rgba(156, 39, 176, 0.8) !important;
}

/* Focus states */
.checkbox-sma20:focus {
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25) !important;
}

.checkbox-sma50:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 152, 0, 0.25) !important;
}

.checkbox-ema12:focus {
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25) !important;
}

.checkbox-bollinger:focus {
  box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25) !important;
}

.checkbox-rsi:checked {
  background-color: #FF5722 !important;
  border-color: #FF5722 !important;
}

.checkbox-rsi:hover {
  border-color: #FF5722 !important;
}

.checkbox-rsi:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.25) !important;
}
/* Custom Variables */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* Background Gradients */
.bg-gradient-primary {
  background: var(--primary-gradient);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
