/* Explicit action roles: shared across layouts without restyling other actions. */
.btn.portal-cancel,
.btn.portal-remove,
a.btn.portal-delete {
    color: #505050;
    text-shadow: none;
    background-color: #e9e9e9;
    background-image: linear-gradient(to bottom, #fdfdfd, #e9e9e9);
}
.btn.portal-cancel:hover, .btn.portal-cancel:focus,
.btn.portal-remove:hover, .btn.portal-remove:focus,
a.btn.portal-delete:hover, a.btn.portal-delete:focus {
    color: #333;
    background-color: #e6e6e6;
    background-image: linear-gradient(to bottom, #fdfdfd, #e6e6e6);
}
.btn.portal-delete[type="submit"],
.btn.portal-delete[type="submit"]:hover,
.btn.portal-delete[type="submit"]:focus {
    color: #fff;
    background-color: #bd362f;
    background-image: linear-gradient(to bottom, #bd362f, #942a25);
}
.dropdown-menu .portal-delete { color: #333; }
.dropdown-menu .portal-delete:hover, .dropdown-menu .portal-delete:focus,
.legacy-action .dropdown-menu .portal-remove:hover,
.legacy-action .dropdown-menu .portal-remove:focus {
    color: #fff;
    background-color: #006a9e;
    background-image: none;
}
.portal-remove i { color: inherit; }

/* Error and expired-session recovery must remain readable on light buttons. */
.btn.portal-retry,
.btn.portal-retry:hover,
.btn.portal-retry:focus,
.btn.portal-retry:active,
.btn.portal-retry:disabled {
    color: #333;
    text-shadow: none;
    background-color: #f5f5f5;
    background-image: none;
}
.btn.portal-retry:hover { background-color: #e6e6e6; }
.btn.portal-retry:focus-visible { outline: 2px solid #176686; outline-offset: 2px; }
