.image-radio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.image-radio-item {
    position: relative;
}

.image-radio-item input[type="radio"] {
    display: none !important;
}

.image-radio-label {
    display: block;
    cursor: pointer;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-radio-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.image-radio-label:hover::before {
    transform: translateX(100%);
}

.image-radio-label:hover {
    border-color: #007bff;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

/* Image sélectionnée */
.image-radio-item input[type="radio"]:checked + .image-radio-label {
    border-color: #007bff;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

/* État actif */
.image-radio-label:active {
    border-color: #0056b3;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.4);
    transform: translateY(0) scale(0.98);
}

.radio-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
}

.image-radio-item input[type="radio"]:checked + .image-radio-label .radio-image {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    transform: scale(1.02);
}

.no-image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
    font-size: 14px;
}

.image-name {
    font-size: 13px;
    color: #495057;
    display: block;
    margin-top: 8px;
    word-wrap: break-word;
    transition: all 0.3s ease;
}

.image-radio-item input[type="radio"]:checked + .image-radio-label .image-name {
    color: #007bff;
    font-weight: 600;
}