.gg-upload-container {
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: 100%;
    clear: both;
    display: block;
    flex: 0 0 100%;
    max-width: 100%;
}

.gg-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gg-dropzone:hover, .gg-dropzone.gg-dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.gg-dropzone-content p {
    margin: 0 0 10px;
    font-weight: 500;
    color: #334155;
    font-size: 16px;
}

.gg-dropzone-content .gg-dropzone-hint {
    font-size: 13px;
    color: #64748b;
    font-weight: normal;
}

.gg-icon-upload {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.gg-preview-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gg-preview-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gg-preview-item:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.gg-preview-item.gg-has-error {
    border-color: #fca5a5;
    background: #fef2f2;
}

.gg-preview-img-wrap {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    background: #f1f5f9;
}

.gg-preview-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gg-preview-details {
    flex-grow: 1;
    min-width: 0; /* for text truncation */
}

.gg-preview-name {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.gg-preview-status {
    font-size: 12px;
}

.gg-uploading { color: #3b82f6; }
.gg-success { color: #10b981; }
.gg-error { color: #ef4444; }

.gg-progress-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.gg-progress-fill {
    height: 100%;
    background: #3b82f6;
    width: 0%;
    transition: width 0.2s ease;
}

.gg-preview-remove {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    margin-left: 10px;
}

.gg-preview-remove:hover {
    color: #ef4444;
}
