#main-container {
    --background-color: #18181B;
    --text-color: #ffffff;
    --card-background-color: #383838;
    --card-box-shadow-1: rgba(0, 0, 0, 0.05);
    --card-box-shadow-1-y: 3px;
    --card-box-shadow-1-blur: 6px;
    --card-box-shadow-2: rgba(0, 0, 0, 0.1);
    --card-box-shadow-2-y: 8px;
    --card-box-shadow-2-blur: 15px;
    --card-label-color: #FFFFFF;
    --card-icon-color: #D4D4D8;
    --card-hover-border-color: rgba(255, 255, 255, 0.2);
    --card-hover-box-shadow-1: rgba(0, 0, 0, 0.04);
    --card-hover-box-shadow-1-y: 5px;
    --card-hover-box-shadow-1-blur: 10px;
    --card-hover-box-shadow-2: rgba(0, 0, 0, 0.3);
    --card-hover-box-shadow-2-y: 15px;
    --card-hover-box-shadow-2-blur: 25px;

    a {
        text-decoration: none;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .grid--2-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--card-background);
        border-radius: var(--border-radius);
        padding: 2.5rem 2rem;
        min-height: 250px;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-md);

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                45deg,
                rgba(255, 255, 255, 0.03),
                rgba(255, 255, 255, 0.06)
            );
            pointer-events: none;
        }

        .icon {
            width: 80px;
            height: 80px;
            margin-bottom: 1.5rem;
            transition: transform 0.3s ease;
            filter: brightness(0.9);
        }

        h4 {
            color: var(--text-color);
            font-size: 1.5rem;
            font-weight: 600;
            margin: 1rem 0;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        p {
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.6;
            margin: 0;
            max-width: 280px;
        }

        &:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(255, 255, 255, 0.2);
        }

        &:hover .icon {
            transform: scale(1.1);
            filter: brightness(1);
        }
    }

    .small-card {
        padding: 1rem 0.5rem;
        min-height: 20px;

        h4,h5{
            margin: 0;
        }
    }

    .step {
        padding: 16px 16px 16px 16px;
        margin-top: 20px;

        h4,h5{
            z-index: 2;
            position: relative;
            font-family: inherit;
            font-weight: 600;
            font-size: 14px;
            line-height: 2;
            color: var(--card-label-color);
            margin-bottom: 0;
        }

        h5 {
            padding-bottom: 8px;
        }

        width: 500px;
    }

    .init{
        width: 500px;
    }

    .card-disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: stroke;
        border-radius: 12px;
        background-color: #bfbcbc; /* Couleur gris clair */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Légère ombre pour le relief */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease-in-out;
    }

    /* Texte et icône désactivés */
    .card-disabled h1,
    .card-disabled h2,
    .card-disabled h3,
    .card-disabled h4,
    .card-disabled p,
    .card-disabled svg {
        color: #515151 !important; /* Gris atténué */
    }

    .actionShopify {
        &::before {
            background-color: #02523e;
        }
    }
}

.grid-flex {
    display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Aligne les éléments verticalement au centre */
    gap: 10px; /* Espacement entre les éléments */
}

.grid-flex a,
.grid-flex form {
    margin: 0; /* Supprimez les marges par défaut des liens et des formulaires */
}

.grid-flex button {
    margin: 0; /* Supprimez les marges par défaut des boutons */
}

/* Animation d'apparition */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid a {
    animation: cardAppear 0.5s ease forwards;
    text-decoration: none;
}

.grid a:nth-child(2) {
    animation-delay: 0.1s;
}

.grid a:nth-child(3) {
    animation-delay: 0.2s;
}

/* Style pour le message flash */
.flash-message {
    background: var(--success-color, #4CAF50);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin: 1rem auto;
    max-width: 600px;
    text-align: center;
    animation: slideDown 0.5s ease forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 1080px) {
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .grid a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .grid--2-cards {
        grid-template-columns: repeat(1, 1fr) !important;
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr !important;
        padding: 1rem;
    }
    
    .card {
        min-height: 200px;
        padding: 2rem 1.5rem;
    }
    
    .card h4 {
        font-size: 1.25rem;
    }
    
    .card p {
        font-size: 0.9rem;
    }
    
    .card .icon {
        width: 60px;
        height: 60px;
    }
}
