/* ============================================
   ERROR PAGES - ESTILOS
   ============================================ */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.error-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 60px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon */
.error-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 60px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.error-icon--404 {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.error-icon--500 {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
}

.error-icon--403 {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

/* Title */
.error-title {
  font-size: 72px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1;
  background: linear-gradient(135deg, #f88414 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.error-message {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 40px 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Actions */
.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.error-actions .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.error-actions .btn-primary {
  background: #f88414;
  color: white;
}

.error-actions .btn-primary:hover {
  background: #e67710;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(248, 132, 20, 0.3);
}

.error-actions .btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.error-actions .btn-secondary:hover {
  background: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hint */
.error-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #f88414;
  font-size: 14px;
  color: #475569;
  text-align: left;
}

.error-hint i {
  color: #f88414;
  font-size: 18px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .error-container {
    padding: 40px 24px;
  }
  
  .error-title {
    font-size: 56px;
  }
  
  .error-subtitle {
    font-size: 22px;
  }
  
  .error-message {
    font-size: 15px;
  }
  
  .error-icon {
    width: 100px;
    height: 100px;
    font-size: 50px;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .error-hint {
    flex-direction: column;
    text-align: center;
  }
}