/* Section de sélection des couleurs dans l'étape Style */

.color-selection-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.color-selection-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.color-selection-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, rgba(218, 255, 115, 1), rgba(218, 255, 115, 0.5));
    border-radius: 2px;
}

.color-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.color-option-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.color-option-item label {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-option-item label strong {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.color-description {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.color-section-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    margin: -1rem 0 2rem 0;
    font-weight: 400;
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.color-input-group:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(218, 255, 115, 0.3);
}

.color-input-group input[type="color"] {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.color-input-group input[type="color"]:hover {
    border-color: rgba(218, 255, 115, 0.5);
    transform: scale(1.05);
}

.color-input-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 6px;
}

.color-input-group input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 6px;
}

.color-hex-value {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .color-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .color-selection-section {
        padding: 2rem;
    }

    .color-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .color-input-group {
        padding: 1rem;
    }

    .color-input-group input[type="color"] {
        width: 45px;
        height: 45px;
    }
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.color-selection-section {
    animation: fadeInUp 0.5s ease;
}

.color-option-item {
    animation: fadeInUp 0.5s ease;
}

.color-option-item:nth-child(1) { animation-delay: 0.1s; }
.color-option-item:nth-child(2) { animation-delay: 0.2s; }
.color-option-item:nth-child(3) { animation-delay: 0.3s; }
.color-option-item:nth-child(4) { animation-delay: 0.4s; }

/* Toolbar labels */
.toolbar-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
