.step-active {
    color: white;
}
.primary-green {
    color: #286b41;
}

/* Pop animation */
@keyframes popIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.success-pop {
    animation: popIn 0.55s ease-out both;
}

/* Confetti container */
.confetti {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

/* Confetti pieces */
.confetti-piece {
    position: absolute;
    top: -10%;
    width: 10px;
    height: 14px;
    border-radius: 3px;
    opacity: 0.9;
    animation: confettiFall 1.2s ease-out forwards;
}

/* Random-ish distribution (simple but joli) */
.confetti-piece:nth-child(1) {
    left: 5%;
    background: #10b981;
    animation-delay: 0.02s;
    transform: rotate(10deg);
}
.confetti-piece:nth-child(2) {
    left: 12%;
    background: #f59e0b;
    animation-delay: 0.06s;
    transform: rotate(30deg);
}
.confetti-piece:nth-child(3) {
    left: 18%;
    background: #34d399;
    animation-delay: 0.1s;
    transform: rotate(55deg);
}
.confetti-piece:nth-child(4) {
    left: 26%;
    background: #60a5fa;
    animation-delay: 0.03s;
    transform: rotate(15deg);
}
.confetti-piece:nth-child(5) {
    left: 33%;
    background: #f472b6;
    animation-delay: 0.08s;
    transform: rotate(40deg);
}
.confetti-piece:nth-child(6) {
    left: 40%;
    background: #10b981;
    animation-delay: 0.12s;
    transform: rotate(70deg);
}
.confetti-piece:nth-child(7) {
    left: 47%;
    background: #f59e0b;
    animation-delay: 0.05s;
    transform: rotate(20deg);
}
.confetti-piece:nth-child(8) {
    left: 54%;
    background: #34d399;
    animation-delay: 0.09s;
    transform: rotate(35deg);
}
.confetti-piece:nth-child(9) {
    left: 61%;
    background: #60a5fa;
    animation-delay: 0.13s;
    transform: rotate(60deg);
}
.confetti-piece:nth-child(10) {
    left: 68%;
    background: #f472b6;
    animation-delay: 0.07s;
    transform: rotate(45deg);
}
.confetti-piece:nth-child(11) {
    left: 74%;
    background: #10b981;
    animation-delay: 0.11s;
    transform: rotate(80deg);
}
.confetti-piece:nth-child(12) {
    left: 79%;
    background: #f59e0b;
    animation-delay: 0.04s;
    transform: rotate(25deg);
}
.confetti-piece:nth-child(13) {
    left: 84%;
    background: #34d399;
    animation-delay: 0.14s;
    transform: rotate(50deg);
}
.confetti-piece:nth-child(14) {
    left: 88%;
    background: #60a5fa;
    animation-delay: 0.1s;
    transform: rotate(65deg);
}
.confetti-piece:nth-child(15) {
    left: 92%;
    background: #f472b6;
    animation-delay: 0.06s;
    transform: rotate(35deg);
}
.confetti-piece:nth-child(16) {
    left: 96%;
    background: #10b981;
    animation-delay: 0.12s;
    transform: rotate(55deg);
}
.confetti-piece:nth-child(17) {
    left: 22%;
    background: #f59e0b;
    animation-delay: 0.15s;
    transform: rotate(75deg);
}
.confetti-piece:nth-child(18) {
    left: 58%;
    background: #60a5fa;
    animation-delay: 0.16s;
    transform: rotate(15deg);
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 0;
    }
    10% {
        opacity: 0.95;
    }
    100% {
        transform: translateY(120vh) rotate(260deg);
        opacity: 0;
    }
}

/* Slider */
.slick-slide {
    margin: 20px 20px;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: "";
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir="rtl"] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

/* .slick-slide img {
    width: 90px;
    height: 90px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
} */

.slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.slick-dots li {
    list-style: none;
}

.slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    background-color: #888;
    border-radius: 50%;
    border: none;
}

.slick-dots li.slick-active button {
    background-color: #333;
}

/* Scrollbar personnalisée pour les éléments avec la classe custom-scrollbar */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.6) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 12px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(
        135deg,
        rgba(156, 163, 175, 0.6),
        rgba(107, 114, 128, 0.8)
    );
    border-radius: 12px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: all 0.2s ease-in-out;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        135deg,
        rgba(107, 114, 128, 0.8),
        rgba(75, 85, 99, 0.9)
    );
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.custom-scrollbar::-webkit-scrollbar-corner {
    background: transparent;
}
