/* Trash page — extends competition-list.css with a few trash-specific styles. */

.trashPage .badge .material-symbols-outlined { font-size: 24px; }

/* Inline forms wrap POST buttons so actions are never GET links (bot-safe) */
.inline-form { display: inline; margin: 0; }
.actions .inline-form { display: inline-flex; }

/* "Restore all" button in the toolbar */
.restore-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    background: #197e4e;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: .15s;
}
.restore-all:hover { background: #2fa969; }
.restore-all .material-symbols-outlined { font-size: 20px; }

/* Header "back to competitions" link reuses .trash-link base */
.back-link { white-space: nowrap; }

/* Trashed-date column */
td.trashed-date {
    color: var(--muted);
    font-size: 13.5px;
    white-space: nowrap;
}

/* Restore action (green) */
.act.restore { color: #197e4e; }
.act.restore:hover { background: #2fa969; color: #fff; }

/* "Delete forever" is a <button>, not an <a> — normalise it to match .act */
button.act {
    font-family: var(--font);
    cursor: pointer;
    padding: 0;
}

/* Notice banner when purge is disabled */
.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff8e6;
    border: 1px solid #f2d98a;
    color: #6b5312;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}
.notice .material-symbols-outlined { color: #c79309; font-size: 22px; flex: 0 0 auto; }
.notice code {
    background: #f3e6bd;
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 13px;
}

/* Passcode field inside the purge modal */
.modal-card .field { text-align: left; margin: 0 0 20px; }
.modal-card .field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.passcode {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 15px;
    background: var(--paper);
}
.passcode:focus {
    outline: none;
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 3px rgba(255, 191, 59, .2);
}
