* {
    margin: 0;
    padding: 0;
  
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
  background-color: #FFF1E4;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
        monospace;
}

.app {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}


@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.div-notification-content {
    font-size: 14px;
    font-weight: 500;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.div-notification-content span {
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .div-notification-content {
        font-size: 12px;
    }
}

/* Page transitions */
.page-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms, transform 300ms;
}

.page-exit {
    opacity: 1;
}

.page-exit-active {
    opacity: 0;
    transition: opacity 300ms;
}


.div-notification {
    text-align: center;
    background: linear-gradient(to right, #FFF0E7, #FFD4B7, #FFF0E7);
    align-items: center;
    justify-content: center;
    display: flex;
    font-weight: 500;
    height: 40px;
    overflow: hidden;
    position: relative;
}
#root{
    overflow: hidden;
}
.div-notification-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite; 
    background: none;
    cursor: pointer; /* Indication visuelle qu'on peut interagir */
}
.div-notification-content:hover {
    animation-play-state: paused;
}
.div-notification span {
    color: #FF802B;
    background-color: transparent;
}

/* Animation de dÃ©filement */
@keyframes scroll-left {
    0% {
        transform: translateX(100%); 
    }
    100% {
        transform: translateX(-100%); 
    }
}

@media (max-width: 1250px) {
    .div-notification {
        display: flex; /* Garde flex pour l'animation */
    }
     .div-notification-content {
        animation: scroll-left 35s linear infinite; 
    }
    @keyframes scroll-left {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

/* ============ BACK TO TOP BUTTON ============ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #FF802B 0%, #e6721f 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 128, 43, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #e6721f 0%, #d4651a 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 128, 43, 0.5);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  background: none;
  width: 24px;
  height: 24px;
}

/* Pulse animation when visible */
.back-to-top.visible {
  animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(255, 128, 43, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(255, 128, 43, 0.6);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

.select {
    flex: 1;
    background: transparent;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 6px 10px;
    color: #333;
    border-radius: 5px;
}