/*
 * 43769 common action contract.
 * Keep generic function-button appearance and states in this file only.
 * Page CSS must not restyle every button/input[type="button"] globally.
 * A component class may extend size or layout, but it must preserve the
 * default/primary/danger, focus-visible and disabled state contract below.
 */
:where(body.c43769-page) :where(button, input, a).c43769-action-button {
    display: inline-flex;
    width: auto;
    min-width: 82px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid #9babb3;
    border-radius: 7px;
    background: #fff;
    color: #26373f;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    box-sizing: border-box;
    appearance: none;
}
body.c43769-page :where(button, input, a).c43769-action-button:not(.c43769-login-primary):not(.c43769-login-secondary):not(.c43769-password-primary) {
    font-size: 14px !important;
    min-width: 82px;
    min-height: 40px;
    border-radius: 7px;
}
body.c43769-page :where(button, input, a).c43769-action-button { font-weight: 700; }
.c43769-page .c43769-action-button:hover { border-color: #5f9308; color: #5f9308; }
.c43769-page .c43769-action-button.is-primary {
    border-color: #5f9308;
    background: #5f9308;
    color: #fff;
}
.c43769-page .c43769-action-button.is-primary:hover { border-color: #4b7805; background: #4b7805; color: #fff; }
.c43769-page .c43769-action-button.is-danger { border-color: #e34b5a; background: #fff; color: #d73545; }
.c43769-page .c43769-action-button.is-danger:hover { background: #fff5f6; color: #bd2736; }
.c43769-page .c43769-action-button:focus-visible { outline: 3px solid rgba(134,189,25,.38); outline-offset: 2px; }
.c43769-page .c43769-action-button.is-danger:focus-visible { outline-color: rgba(227,75,90,.22); }
.c43769-page .c43769-action-button:disabled,
.c43769-page .c43769-action-button.is-disabled { opacity: .5; cursor: default; pointer-events: none; }
.c43769-page .c43769-action-toolbar {
    clear: both;
    display: flex;
    width: 100%;
    min-height: 68px;
    margin: 20px 0 0;
    padding: 14px 16px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    border: 1px solid #dce5e8;
    border-radius: 10px;
    background: #f7fafb;
    box-sizing: border-box;
}
.c43769-page .c43769-action-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
    :where(body.c43769-page) :where(button, input, a).c43769-action-button { min-width: 74px; height: 40px; min-height: 40px; padding: 0 13px; font-size: 13px; }
    body.c43769-page :where(button, input, a).c43769-action-button:not(.c43769-login-primary):not(.c43769-login-secondary):not(.c43769-password-primary) { min-width: 74px; font-size: 13px !important; }
    .c43769-page .c43769-action-toolbar { min-height: 0; padding: 12px; justify-content: flex-start; }
    .c43769-page .c43769-action-row { justify-content: flex-start; }
}
