.showcase-card { margin: 0 auto; }
.showcase-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.showcase-subtitle { color: #666; margin: 0; font-size: 0.9rem; flex: 1; }
.showcase-add-btn { background: #ec5f59; color: white; border: none; padding: 0.6rem 1.2rem; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.showcase-add-btn:hover { background: #d4605a; }

.showcase-loading, .showcase-empty { text-align: center; padding: 3rem; color: #888; }
.showcase-success { background: #d4edda; color: #155724; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.showcase-error { background: #f8d7da; color: #721c24; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }

.showcase-list { display: flex; flex-direction: column; gap: 1rem; }
.showcase-item { background: white; border: 1px solid #e8e8e8; border-radius: 10px; padding: 1.2rem; cursor: pointer; transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.showcase-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-color: #97c1bc; }
.showcase-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.3rem; }
.showcase-item-title { margin: 0; font-size: 1rem; color: #372562; }
.showcase-item-date { font-size: 0.8rem; color: #999; white-space: nowrap; }
.showcase-item-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.4rem; flex-wrap: wrap; }
.showcase-item-author { font-size: 0.85rem; color: #372562; font-weight: 600; }
.showcase-item-school { font-size: 0.85rem; color: #7c3aed; }
.showcase-item-text { font-size: 0.85rem; color: #555; margin: 0.4rem 0; line-height: 1.4; }
.showcase-item-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.showcase-item-attachments { font-size: 0.8rem; color: #888; }
.showcase-delete-btn { background: #f8d7da; color: #721c24; border: none; padding: 0.2rem 0.6rem; border-radius: 4px; cursor: pointer; font-size: 0.75rem; }
.showcase-delete-btn:hover { background: #f5c6cb; }

/* Form */
.showcase-form { background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 10px; padding: 1.5rem; margin-bottom: 1.5rem; }
.showcase-form h3 { margin: 0 0 1rem 0; color: #372562; }
.showcase-form-group { margin-bottom: 1rem; }
.showcase-form-group label { display: block; font-weight: 600; font-size: 0.85rem; color: #372562; margin-bottom: 0.3rem; }
.showcase-form-group input[type="text"],
.showcase-form-group textarea { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid #ddd; border-radius: 6px; font-size: 0.9rem; font-family: inherit; box-sizing: border-box; }
.showcase-form-group textarea { resize: vertical; }
.showcase-form-group input:focus,
.showcase-form-group textarea:focus { outline: none; border-color: #97c1bc; box-shadow: 0 0 0 2px rgba(143,188,176,0.2); }
.showcase-form-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.showcase-submit-btn { background: #ec5f59; color: white; border: none; padding: 0.6rem 1.5rem; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.showcase-submit-btn:hover { background: #d4605a; }
.showcase-submit-btn:disabled { background: #ccc; cursor: not-allowed; }
.showcase-cancel-btn { background: #e8e8e8; color: #555; border: none; padding: 0.6rem 1.2rem; border-radius: 8px; cursor: pointer; font-size: 0.9rem; }
.showcase-cancel-btn:hover { background: #ddd; }

/* Dropzone */
.showcase-dropzone { border: 2px dashed #ccc; border-radius: 8px; padding: 1.5rem; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.showcase-dropzone:hover, .showcase-dropzone.dragover { border-color: #97c1bc; background: #f0f7f5; }
.showcase-dropzone-icon { font-size: 2rem; display: block; margin-bottom: 0.3rem; }
.showcase-dropzone-content p { margin: 0; font-size: 0.9rem; color: #555; }
.showcase-dropzone-content small { color: #999; }

/* File list */
.showcase-files { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.showcase-file-item { display: flex; align-items: center; gap: 0.5rem; background: white; border: 1px solid #e8e8e8; border-radius: 6px; padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.showcase-file-icon { font-size: 1.1rem; }
.showcase-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #372562; }
.showcase-file-size { color: #999; font-size: 0.8rem; }
.showcase-file-remove { background: none; border: none; color: #c62828; cursor: pointer; font-size: 1.1rem; padding: 0 0.3rem; }

/* Detail view */
.showcase-detail { background: white; border: 1px solid #e8e8e8; border-radius: 10px; padding: 1.5rem; }
.showcase-back-link { background: none; border: none; color: #7c3aed; cursor: pointer; font-size: 0.85rem; padding: 0; margin-bottom: 1rem; display: block; }
.showcase-back-link:hover { text-decoration: underline; }
.showcase-detail-title { margin: 0 0 0.5rem 0; color: #372562; font-size: 1.2rem; }
.showcase-detail-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: #888; margin-bottom: 1rem; }
.showcase-detail-text { color: #333; line-height: 1.6; margin-bottom: 1.5rem; }
.showcase-detail-attachments h4 { margin: 0 0 0.75rem 0; color: #372562; font-size: 0.95rem; }
.showcase-att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.showcase-att-image img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 1px solid #e8e8e8; }
.showcase-att-image small { display: block; margin-top: 0.3rem; font-size: 0.75rem; color: #888; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase-att-file { background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 6px; padding: 0.75rem; }
.showcase-att-link { color: #7c3aed; text-decoration: none; font-size: 0.85rem; word-break: break-all; }
.showcase-att-link:hover { text-decoration: underline; }
