/* public/assets/custom.css
Edit this file directly on the server to tweak styles without npm build. */

.btn-primary{ background-color:#2563eb !important; }
.dark .btn-primary{ background-color:#3b82f6 !important; }

/* New animations and styles for MoBoost homepage */

/* Floating animation for social icons */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.animate-float-1 {
  animation: float 15s ease-in-out infinite;
  top: 20%;
  left: 10%;
}

.animate-float-2 {
  animation: float 18s ease-in-out infinite;
  top: 60%;
  left: 5%;
}

.animate-float-3 {
  animation: float 12s ease-in-out infinite;
  top: 30%;
  right: 15%;
}

.animate-float-4 {
  animation: float 16s ease-in-out infinite;
  top: 70%;
  right: 10%;
}

.animate-float-5 {
  animation: float 14s ease-in-out infinite;
  top: 50%;
  left: 20%;
}

.animate-float-6 {
  animation: float 20s ease-in-out infinite;
  bottom: 20%;
  right: 20%;
}

/* Fade-in animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-down {
  animation: fadeInDown 1s ease-out forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

/* CTA pulse animation */
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-cta-pulse {
  animation: ctaPulse 2s ease-in-out infinite;
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark .card-hover:hover {
  box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.05);
}

/* Social logo card effects */
.social-logo-card {
  transition: all 0.3s ease;
}

.social-logo-card:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Étendre la largeur paysage */
.new-order-page {
  max-width: 90rem !important; /* 7xl */
  width: 100%;
}

/* Élargir les panels */
.new-order-page .panel {
  width: 100%;
  max-width: 100%;
}

/* Élargir le conteneur du select */
.new-order-page .select-container {
  width: 100%;
  max-width: 100%;
}

/* Forcer les selects à prendre toute la largeur */
.new-order-page select.form-select {
  width: 100% !important;
  max-width: 100% !important;
}

/* Service select improvements - SOLUTION ROBUSTE */
#svc-select {
  min-height: 2.8rem;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Style pour les options - SOLUTION DEFINITIVE */
#svc-select option {
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 8px;
  margin: 2px 0;
  border-bottom: 1px solid #f3f4f6;
  background: white;
  max-width: 100%;
}

#svc-select option:hover {
  background: #3b82f6 !important;
  color: white !important;
}

#svc-select option:checked {
  background: #3b82f6 !important;
  color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  }
  
  .ambient-logos div {
    width: 40px !important;
    height: 40px !important;
  }

  #svc-select {
    font-size: 13px;
    min-height: 2.8rem;
  }

  #svc-select option {
    font-size: 12px;
    padding: 12px 8px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  #svc-select {
    font-size: 12px;
  }

  #svc-select option {
    font-size: 11px;
    padding: 14px 8px;
  }
}

/* Sur très grands écrans, augmenter encore la largeur */
@media (min-width: 1536px) {
  .new-order-page {
    max-width: 100rem !important; /* 8xl */
  }
}

/* Ajustements pour les écrans larges */
@media (min-width: 1280px) {
  .new-order-page .row {
    gap: 1.5rem;
  }
  
  .new-order-page .col {
    min-width: 300px;
  }
}

/* Dark mode compatibility */
.dark .social-logo-card div {
  background: rgba(255, 255, 255, 0.1) !important;
}

.dark #svc-select option {
  background: #1f2937;
  color: #e5e7eb;
  border-bottom-color: #374151;
}
/* Ajouts pour le design ultra-stylisé */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations supplémentaires */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pulse-gentle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-slide-in-down {
  animation: slideInDown 0.6s ease-out;
}

.animate-pulse-gentle {
  animation: pulse-gentle 2s ease-in-out infinite;
}

/* Effets de hover avancés */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Responsive amélioré */
@media (max-width: 768px) {
  .glass-card {
    margin: 0.5rem;
    border-radius: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .glass-card {
    margin: 0.25rem;
    border-radius: 0.75rem;
  }
}

/* Loading states améliorés */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.dark .loading-shimmer {
  background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
}
