/* MLIPE custom styles — Foundation 6 defaults used for everything else */

/* SPARQL update editor */
.update-editor { display: flex; flex-direction: column; gap: 0.5rem; }
.update-editor textarea {
    width: 100%; font-family: monospace; font-size: 0.9rem;
    padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; resize: vertical;
}
.update-result { margin-top: 0.3rem; padding: 0.4rem; border-radius: 4px; }
.update-result.success { color: #186a3b; background: #d5f5e3; }
.update-result.error { color: #922; background: #fde8e8; }

/* Dataset list */
.dataset-list { list-style: none; margin-left: 0; }
.dataset-list li { padding: 0.5rem 0; border-bottom: 1px solid #e0e0e0; display: flex; align-items: center; }

/* Inline forms and danger buttons */
.inline-form { display: inline; }
.btn-small-danger {
    font-size: 0.75rem; padding: 0.1rem 0.4rem; background: transparent; color: #c00;
    border: 1px solid #c00; border-radius: 3px; cursor: pointer; margin-left: 0.5rem;
}
.btn-small-danger:hover { background: #c00; color: #fff; }

/* Admin dashboard cards */
.admin-cards { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-card {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 1rem 1.5rem; border: 1px solid #ddd; border-radius: 6px;
    background: #fff; min-width: 140px; color: #222; text-decoration: none;
}
a.admin-card:hover { border-color: #1779ba; text-decoration: none; }
.admin-card strong { font-size: 1.1rem; }

/* File actions */
.actions-cell { white-space: nowrap; }
.actions-cell a { margin-right: 0.5rem; }

/* Upload form */
.upload-form { max-width: 480px; }

/* ACM-style paper cards */
.paper-card {
    padding: 1rem 0; border-bottom: 1px solid #e0e0e0;
}
.paper-card:last-child { border-bottom: none; }
.paper-card h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.paper-card h2 a { color: #1779ba; }
.paper-card h2 a:hover { text-decoration: underline; }
.paper-actions {
    margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem;
}
