.member-gallery-wrapper-4da02f2b {
    font-family: inherit;
    padding: 15px;
    background: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.mg-upload-section {
    margin-bottom: 20px;
}

.mg-upload-dropzone {
    display: block;
    border: 2px dashed #ccd0d4;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.3s, border-color 0.3s;
}

.mg-upload-dropzone:hover {
    background: #f0f6fc;
    border-color: #3b82f6;
}

.mg-dropzone-content i {
    font-size: 32px;
    color: #8c8f94;
    display: block;
    margin-bottom: 10px;
}

.mg-dropzone-content span {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

.mg-upload-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 10px;
}

.mg-progress-bar {
    height: 100%;
    background: #3b82f6;
    width: 0%;
    transition: width 0.1s linear;
}

.mg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.mg-photo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mg-photo-card.is-main {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.mg-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mg-photo-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mg-badge {
    background: #3b82f6;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.mg-btn-action {
    background: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mg-btn-action:hover {
    background: #edf2f7;
}

.mg-btn-action.text-danger {
    color: #e53e3e;
}
