/* Showcase Page Layout */
.showcase-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.showcase-toolbar button {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #1C71E6;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

.showcase-toolbar button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Gallery Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.showcase-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.showcase-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* Delete Button */
.showcase-item .delete-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-item .delete-btn:hover {
    background-color: rgba(255, 0, 0, 0.8);
}

/* Keywords Editor */
.showcase-keywords {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.showcase-keywords textarea {
    width: 100%;
    min-height: 60px;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: vertical;
}

.showcase-keywords button {
    align-self: flex-start;
    padding: 0.4rem 0.8rem;
    background-color: #2FA628;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
}

.showcase-keywords button:hover {
    background-color: #278d21;
}
