/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Pomooro Custom Styles */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 100%;
}

/* Landing Page Specific Styles */
.bg-grid-pattern {
  background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Smooth animations for better UX */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Enhanced focus states */
input:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Success animation */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.5s ease-out;
}

/* Scroll animations */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Hover effects for better interactivity */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Toast animations */
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

/* Zen Toast Styles - Funcionales y visibles */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zen-toast {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  max-width: 24rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  animation: slideInRight 0.3s ease-out;
  margin-bottom: 0.5rem;
}

.zen-toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.zen-toast-message {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
}

.zen-toast-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem;
  margin-left: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.zen-toast-close:hover {
  background-color: #f3f4f6;
  color: #374151;
}

/* Colores por tipo */
.zen-toast-info {
  border-color: #3b82f6;
  background-color: #eff6ff;
  color: #1e40af;
}

.zen-toast-success {
  border-color: #10b981;
  background-color: #ecfdf5;
  color: #065f46;
}

.zen-toast-warning {
  border-color: #f59e0b;
  background-color: #fffbeb;
  color: #92400e;
}

.zen-toast-error {
  border-color: #ef4444;
  background-color: #fef2f2;
  color: #991b1b;
}
