#fgu-container {
    max-width: 600px;
    margin: auto;
    text-align: center;
    font-family: Arial, sans-serif;
    width: 100%;
}

.fgu-upload-btn {
    background: #030ffc;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 15px;
}

.fgu-upload-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

#fgu-form input[type="file"] {
    display: none;
}

#fgu-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.fgu-item {
    position: relative;
    border: 3px solid #3b82f6;
    padding: 5px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 160px;
    max-width: 100%;
}

.fgu-item img,
.fgu-item video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.fgu-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.fgu-delete,
.fgu-download {
    background: #e11d48;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.fgu-delete:hover {
    background: #be123c;
}

.fgu-download {
    background: #2563eb;
}

.fgu-download:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    #fgu-gallery {
        flex-direction: column;
        align-items: center;
    }
    .fgu-item {
        width: 90% !important;
    }
}
