/* Estilos generales */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8f9fa;
}

/* Login y Setup */
.bg-dark {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card {
  border: none;
  border-radius: 10px;
}

/* Dashboard cards */
.card.bg-primary,
.card.bg-success,
.card.bg-info {
  border: none;
  transition: transform 0.2s;
}

.card.bg-primary:hover,
.card.bg-success:hover,
.card.bg-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Navbar */
.navbar-brand {
  font-weight: 600;
  font-size: 1.2rem;
}

/* Sidebar */
.sidebar {
  min-height: 100vh;
}

.nav-link {
  transition: all 0.3s ease;
  border-radius: 5px;
  margin: 2px 8px;
}

.nav-link:hover {
  background-color: rgba(0,0,0,0.05);
}

/* Instancias grid */
.instance-card {
  transition: all 0.3s ease;
}

.instance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Tables */
.table-hover tbody tr:hover {
  background-color: rgba(0,0,0,0.02);
}

/* Badges personalizados */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}

/* Botones */
.btn {
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

/* Alertas */
.alert {
  border-radius: 8px;
  border: none;
}

/* Modales */
.modal-content {
  border: none;
  border-radius: 10px;
}

.modal-header {
  border-bottom: 2px solid #f0f0f0;
}

.modal-footer {
  border-top: 2px solid #f0f0f0;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    padding: 1rem !important;
  }
  
  .sidebar {
    position: relative;
    top: 0;
  }
}
