.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.button-secondary {
    background: var(--accent);
    color: var(--primary-dark);
}

.button-secondary:hover {
    background: #e0e5fa;
}

/* Canonical danger button — soft-red PILL, self-sufficient so it works on a
   bare `.button-danger` and layers cleanly over `.button`. ONE definition for
   the whole site (deactivate, delete, cancel, reject); there used to be three
   conflicting ones scattered across page CSS files. */
.button-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    background: #fff1f1;
    color: #b23a48;
    border: 1px solid #f0c2c2;
    transition: 0.2s ease;
}
.button-danger:hover {
    background: #ffe2e2;
    border-color: #e3a3a3;
    transform: translateY(-1px);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.form-actions .button,
.form-actions .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.form-actions .button-secondary {
    border: 1px solid var(--border);
}

@media (max-width: 600px) {
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .button,
    .form-actions .button-secondary {
        width: 100%;
    }
}