#previewContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.image-preview-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.image-preview:hover {
    border-color: #d1d5db;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.remove-image:hover {
    background-color: #dc2626;
}

.file-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 6px 6px;
}

.file-name {
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.file-size {
    color: #d1d5db;
    font-size: 10px;
    line-height: 1;
}

.file-input-styled {
    transition: all 0.3s ease;
}

.file-input-styled:hover {
    background-color: #f3f4f6;
}