.edit-gallery .upload-container {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.edit-gallery .upload-form {
    display: flex;
    flex-direction: column;

}
.edit-gallery .upload-input-container {
    display: flex;

    align-items: center;
}
.edit-gallery .upload-btn {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}
.edit-gallery .upload-btn:hover {
    background-color: #45a049;
}
.edit-gallery .upload-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}
.edit-gallery .file-list {
    margin-top: 10px;
    font-size: 0.9em;
}
.edit-gallery .file-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
.edit-gallery .file-item:last-child {
    border-bottom: none;
}
.edit-gallery .gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}
.edit-gallery .gallery-item {
    flex: 0 0 calc(33.333% - 20px);
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
.edit-gallery .gallery-item-container {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
}
.edit-gallery .image-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    word-break: break-word;
}
.edit-gallery .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.edit-gallery .title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.edit-gallery .delete-btn {
    padding: 5px 10px;
    background-color: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}
.edit-gallery .delete-btn:hover {
    background-color: #cc0000;
}
@media (max-width: 900px) {
    .edit-gallery .gallery-item {
        flex: 0 0 calc(50% - 20px);
    }
}
@media (max-width: 600px) {
    .edit-gallery .gallery-item {
        flex: 0 0 100%;
    }
    .edit-gallery .upload-input-container {
        flex-direction: column;
        align-items: flex-start;
    }
}  