/* Shared actions use the same primary button treatment as Incentives Manager. */
.kaizen-action-button,
.form button.kaizen-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    border: 1px solid #128363;
    border-radius: 7px;
    background: #128363;
    box-shadow: none;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    cursor: pointer;
}

.kaizen-action-button:hover,
.kaizen-action-button:focus,
.form button.kaizen-action-button:hover,
.form button.kaizen-action-button:focus {
    background: #0d7054;
    border-color: #0d7054;
    color: #fff;
}

.kaizen-action-button:focus-visible,
.form button.kaizen-action-button:focus-visible,
.form .message .login-recovery-link:focus-visible {
    outline: 2px solid #128363;
    outline-offset: 3px;
}

.top-bar .kaizen-action-button {
    width: auto;
    height: 36px;
    padding: 8px 14px;
    flex-shrink: 0;
    font-family: 'Montserrat Regular', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

.top-bar .top-bar-actions .kaizen-action-button {
    margin: 0;
}

.kaizen-action-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.top-bar .kaizen-action-button-logout {
    background: transparent;
    border-color: #c9cedb;
}

.top-bar .kaizen-action-button-logout:hover,
.top-bar .kaizen-action-button-logout:focus {
    background: #fff;
    border-color: #fff;
    color: #303348 !important;
}

.top-bar .kaizen-action-button-logout:focus-visible {
    outline-color: #c9cedb;
}

.form button.kaizen-action-button {
    min-height: 44px;
}

.kaizen-login-page > .background-login-form {
    height: 6px;
    background: #128363;
    border-radius: 12px 12px 0 0;
}

.kaizen-auth-form {
    margin-bottom: 32px;
    border: 1px solid #e4e8ee;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(25,31,48,.16);
    color: #303348;
    text-shadow: none;
}

.kaizen-auth-form button.kaizen-action-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 22px;
}

.kaizen-auth-form .login-recovery-title,
.kaizen-auth-form .kaizen-auth-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.kaizen-auth-form .login-recovery-description,
.kaizen-auth-form .kaizen-auth-description {
    margin: 0 0 20px;
    color: #73798b;
    font-size: 14px;
    line-height: 1.55;
}

.kaizen-auth-form .login-recovery-label,
.kaizen-auth-form .kaizen-auth-label {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 700;
}

.kaizen-change-password-page {
    margin-top: max(80px, 8%);
}

.kaizen-change-password-form {
    padding-bottom: 28px;
}

.kaizen-auth-form input:not([type="hidden"]) {
    min-height: 48px;
    border-color: #dfe4eb !important;
    border-radius: 7px !important;
    padding: 12px 14px;
    color: #303348;
}

.kaizen-auth-form input:not([type="hidden"]):focus {
    border-color: #128363 !important;
    box-shadow: 0 0 0 2px rgba(18,131,99,.12);
}

.login-recovery-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.kaizen-auth-form button.kaizen-action-button-secondary {
    border-color: #dfe4eb;
    background: #fff;
    color: #303348;
    font-size: 14px;
}

.kaizen-auth-form button.kaizen-action-button-secondary:hover,
.kaizen-auth-form button.kaizen-action-button-secondary:focus {
    border-color: #dfe4eb;
    background: #f4f6f8;
    color: #303348;
}

.form .message .login-recovery-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    color: #128363;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-shadow: none;
}

.form .message .login-recovery-link:hover,
.form .message .login-recovery-link:focus {
    color: #0d7054 !important;
    text-decoration: underline !important;
}

@media screen and (max-width: 429px) {
    .top-bar .kaizen-action-button {
        padding: 8px 10px;
    }

    .top-bar-actions .kaizen-action-icon {
        display: none;
    }
}
